[Home]Lambda Notes

BOOST WIKI | RecentChanges | Preferences | Page List | Links List

This is for discussion of the Boost Lambda Library.


Suggestion

Currently, to include all the headers of the lambda library, you do:

    #include <boost/lambda/lambda.hpp>

I suggest that it would be more sensible to have:

    #include <boost/lambda.hpp>

   - Chuck


Suggestion

The following compiles:

    (cout << _1 << "\n")(x);

but this doesn't:

    (cout << _1 << endl)(x);

(gcc 3.2.2)

I can't figure out how to use an io manipulator within a lambda function.

Firstly, how do I do it? (e.g. suppose I want to use flush, for which there is no workaround like using "\n").

Secondly, a suggestion: it would be nice if support was built in for the io manipulators.

    - Chuck

BOOST WIKI | RecentChanges | Preferences | Page List | Links List
Edit text of this page | View other revisions
Last edited November 17, 2004 7:56 am (diff)
Search:
Disclaimer: This site not officially maintained by Boost Developers