Re: [asio-users] using std::bind instead of boost::bind gives compile time error by ASIO_HANDLER_TY
Brought to you by:
chris_kohlhoff
From: Scott M. <smu...@os...> - 2018-09-15 16:29:26
|
Hello Dmitrij, std::bind works fine, as does lambdas. Can you give an example of the Asio call that you are trying to make, along with the declaration of the function that you are binding? Best Regards, Scott > On Sep 15, 2018, at 1:18 AM, Dmitrij V <dm...@gm...> wrote: > > Hi all. > > I want to use only asio + stl with c++17 standart (GCC-7.3.0) > without any external dependensies (like boost etc)/ > > But by using std::bind I got error in compile time. > > Could anyone give me a patch for fix it ? > > -- > thanks > > > _______________________________________________ > asio-users mailing list > asi...@li... > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_asio-2Dusers&d=DwICAg&c=rxxrGm2iek7pTJSSe1mAiw&r=5upJxiFcubzQpxbhINWH-YRVUQOICqCqDS6nudbYCog&m=X2-AmJPmcmPsRYg4oOiy8XNFsyJVUEe3BeCrMhEA3ps&s=MpfZ7n8pK3bNnAdgTk5x7x88HlRTuymIx6rYVYJC4wM&e= > _______________________________________________ > Using Asio? List your project at > https://urldefense.proofpoint.com/v2/url?u=http-3A__think-2Dasync.com_Asio_WhoIsUsingAsio&d=DwICAg&c=rxxrGm2iek7pTJSSe1mAiw&r=5upJxiFcubzQpxbhINWH-YRVUQOICqCqDS6nudbYCog&m=X2-AmJPmcmPsRYg4oOiy8XNFsyJVUEe3BeCrMhEA3ps&s=bJVQuKWA8wgqbtH2OU8TeQN65hQirTaojnuFmft6OWM&e= |