
17 Feb
2006
17 Feb
'06
11:24 p.m.
Thanks. but when I do that, I get a compile error saying
PageBreaker.cpp:189: instantiated from here
A.h:268: error: 'A::A(const A&)' is private
Why boost is trying to make a copy of A (a vector is a list of A*).
And how can I fix that without making A constructor public?
Thank you.
On 17 Feb 2006 11:23:00 +0000, Jens Theisen
Meryl wrote:
for_each (aVector;.begin(), aVector;.end(), bind (&myFunc, _1)); //
for_each( aVector.begin(), aVector.end(), bind(&myFunc, *_1) );
But that's boost::lambda rather than boost::bind.
Jens
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users