|
Boost Users : |
Subject: Re: [Boost-users] multiple levels of bind nesting
From: Adrien Panay (adrien.panay_at_[hidden])
Date: 2009-07-23 03:31:56
> [snip]
>> Yes I tried that as well but was not able to get it working.
> [snip]
>
> I managed to get something similar working, by making the protected type
> explicit. Please see the code snippet below.
>
> Kind regards,
>
> Rutger
Hi all,
Another solution : passing the handler using a boost::tuple.
http://www.boost.org/doc/libs/1_39_0/doc/html/boost_asio/example/serialization/connection.hpp
The functions connection::async_read and
connection::handle_read_header describe how to do.
Does one of this two solutions offer better performances ? (Am I off topic ?)
Regards,
Adrien Panay
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