Boost logo

Boost :

Subject: Re: [boost] Why do many examples lack #includes and namespaces?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2013-12-14 11:41:44


On 13/12/2013 19:43, TyRoXx wrote:
> The first example for Lambda 1.55 is:
>
> list<int> v(10);
> for_each(v.begin(), v.end(), _1 = 1);
>
> This is not useful at all.
> The first two question that every new user would ask are:
>
> - which header files do I have to include?
> - which namespaces are the things from? Is _1 the global that I already
> know from bind or not?

Documentation is handled on a per-library basis.
The lambda documentation is not as good as it could be as you found out.

The maintainer for this library (Jaakko Jarvi) is not very active on the
Boost mailing list, you might consider contacting him directly.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk