Boost logo

Boost :

Subject: Re: [boost] [compute] Review comments
From: Robert Ramey (ramey_at_[hidden])
Date: 2014-12-29 10:23:24

Asbjørn wrote
> Comments in no particular order:
> 1) As a library user and one who's not a C++ guru by any means, the error
> messages thrown up when passing incorrect parameters can be quite
> confusing.
> For example, first time I tried to use Boost.Compute I managed to not pass
> the
> ouput iterator parameter to transform(), so that the lambda expression
> ended up
> in that position instead. This resulted in several very confusing errors
> inside
> result_of.hpp, with no errors anywhere near my or Boost.Compute source
> code.
> It would be nice if the compilation could fail in more informative
> manners.

This is an annoying, and recurring problem in much of boost library
The solution is well known for many years. Here is more information:

Robert Ramey

View this message in context:
Sent from the Boost - Dev mailing list archive at

Boost list run by bdawes at, gregod at, cpdaniel at, john at