Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2007-08-22 03:06:01


Michael Marcin <mmarcin <at> method-solutions.com> writes:

> Could it just take arguments by value and use boost::ref for references
> like the other function-like libraries?

N2329 (Lambda expressions and closures for C++) proposes both
passing by ref and val. I agree that both are important but
I couldn't come up with a good solution.

http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2007/n2329.pdf

--
Alexander

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