Boost logo

Boost :

From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2006-11-23 17:13:22


berserker_r wrote:
>> void server::accept_handler(const boost::system::error_code &e)
>> {
>>
>> }
>> void server::accept()
>> {
>> m_acceptor.async_accept(m_connection->getSocket(),
>> boost::bind(&server::accept_handler, this,
>> boost::asio::placeholders::error));
>> }
>
> I fix the problem changing boost::asio::placeholders::error to _1, but I
> don't think it's the *proper* way right?

Thanks for reporting that problem, I think I've fixed it in CVS now.

Cheers,
Chris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk