id summary reporter owner description type status milestone component version severity resolution keywords cc 3053 asio::placeholders not compatible with std::tr1::bind sdrongel@… chris_kohlhoff "If I use a placeholder from `boost::asio::placeholders` with `std::tr1::bind` from ``, I get loads of compiler output, concluding with this: {{{ /usr/include/c++/4.3/tr1_impl/functional:1138: error: no match for call to '(std::tr1::_Mem_fn) (Connection*&, boost::arg<1> (*&)())' /usr/include/c++/4.3/tr1_impl/functional:551: note: candidates are: _Res std::tr1::_Mem_fn<_Res (_Class::*)(_ArgTypes ...)>::operator()(_Class&, _ArgTypes ...) const [with _Res = void, _Class = Connection, _ArgTypes = const boost::system::error_code&] /usr/include/c++/4.3/tr1_impl/functional:556: note: _Res std::tr1::_Mem_fn<_Res (_Class::*)(_ArgTypes ...)>::operator()(_Class*, _ArgTypes ...) const [with _Res = void, _Class = Connection, _ArgTypes = const boost::system::error_code&] /usr/include/c++/4.3/tr1_impl/functional:1138: error: return-statement with a value, in function returning 'void' }}} With `Connection` a self-defined class. If I use `boost::bind` instead of `std::tr1::bind`, it works. To me, this seems like the placeholders from asio are not usable with `bind` from TR1. Is there any way to fix this in Boost, perhaps using BOOST_HAS_TR1_BIND in the asio headers?" Feature Requests new To Be Determined asio Boost 1.38.0 Cosmetic