$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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