|
Boost Users : |
Subject: Re: [Boost-users] [boost] [asio] how to handle "boost::asio::placeholders::error" in "boost::function"?
From: Igor R (boost.lists_at_[hidden])
Date: 2010-04-26 12:27:46
> Â Â Â //compile error because of the placeholder
> Â Â Â boost::function<void(void)> fun =
> boost::bind(&transfor_file_push::write_file, this,
> boost::asio::placeholders::error, conn);
The signature of the resulting functor is not void(void), it's
void(const boost::system::error_code &)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net