
5 Mar
2008
5 Mar
'08
7:23 p.m.
On Wed, Mar 5, 2008 at 11:47 AM, Peter Dimov
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
Ah, that was the problem! I didn't know list::insert was overloaded. Too bad the compiler errors generated by boost::bind aren't very helpful. C++0x will definitely fix that issue later on though! Thanks for the help.