On Wed, Mar 5, 2008 at 11:47 AM, Peter Dimov <pdimov@pdimov.com> wrote:
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.