
5 Mar
2008
5 Mar
'08
5:47 p.m.
Robert Dailey:
Below is the real example: ...
using namespace boost::python;
list newsyspath;
std::for_each( pathList.begin(), pathList.end(), boost::bind( &list::insertboost::filesystem::path, newsyspath, 0, _1 ) );
Unfortunately, list::insert is overloaded, and boost::bind doesn't handle overloaded functions well. See the section "Binding an overloaded function" in http://svn.boost.org/trac/boost/browser/trunk/libs/bind/bind.html?format=raw