$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [asio] Correct handler signature for io_service::post/dispatch
From: Igor R (boost.lists_at_[hidden])
Date: 2012-05-20 12:01:40
>> io_service::post() accepts nullary functors. So if your handler accept
>> parameters, I guess you bind them at when posting the handler, don't
>> you.
>
>
> Yes, this is the sort of thing that I'm doing and that I find to be working
> OK.
>
> Â ios.post(boost::bind(&MyClass::Handler,ptr_to_my_class,"astring"));
>
> So, this is OK?
Yes, of course.