4 Jul 00:37
Re: [Boost.Bind] Adding a single argument to an existing function, breaks the code.
Vjekoslav Brajkovic <balkan <at> cs.washington.edu>
2008-07-03 22:37:42 GMT
2008-07-03 22:37:42 GMT
On Thu, 3 Jul 2008, Steven Watanabe wrote: > Does it work if you use mem_fn? > > boost::bind( > boost::mem_fn(&com_client::handle_connect), > this, > 2, > boost::asio::placeholders::error, > ++endpoint_iterator) > > How about an explicit return type? > > boost::bind<void>( > &com_client::handle_connect, > this, > 2, > boost::asio::placeholders::error, > ++endpoint_iterator) > > Nope. Same errors. I've tried both suggestions and their combinations with no success. V
RSS Feed