
13 Feb
2013
13 Feb
'13
6:53 p.m.
Ian Emmons wrote:
Peter and Stephan, thanks for the information. It looks like I should write my own functor rather than use Boost.Bind in this case.
You could still use bind with your own functor, if you like. :-) struct my_push_back { template<class C, class T> void operator()( C & c, T & v ) const { c.push_back( v ); } }; and then boost::bind( my_push_back(), boost::ref( strList ), _1 );