19 May
2009
19 May
'09
9:52 p.m.
AMDG Archie14 wrote:
I am trying to use bind to generate ptr_vector list of objects from another vector
#include
#include boost::bind((&listofb::push_back), lstb, boost::bind((&operator new), b, _1) );
You'll most likely do better using Boost.Lambda. boost::lambda::bind(&listofb::push_back, lstb, boost::lambda::bind(boost::lambda::new_ptr<b>(_1))) In Christ, Steven Watanabe