Boost C++ Libraries: Ticket #9024: boost_asio_handler_invoke_helpers and family should not be in detail https://svn.boost.org/trac10/ticket/9024 <p> Currently these important namespaces: </p> <pre class="wiki">boost_asio_handler_invoke_helpers boost_asio_handler_alloc_helpers boost_asio_handler_cont_helpers </pre><p> While located in the global namespace (for reasons explained in the corresponding header file), have include files that are located in <strong>boost/asio/detail</strong>. In theory, users should not rely on these routines because they are in a detail header. </p> <p> In practice however, it is impossible for a user to create a generic wrapper for an asio handler that obeys the same execution and safety guarantees of the original handler without having access to the helpers. </p> <p> I propose that these three headers be moved to <strong>boost/asio</strong> and made part of the official asio API: </p> <p> <strong>boost/asio/detail/handler_alloc_helpers.hpp</strong> </p> <p> <strong>boost/asio/detail/handler_cont_helpers.hpp</strong> </p> <p> <strong>boost/asio/detail/handler_invoke_helpers.hpp</strong> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9024 Trac 1.4.3 chris_kohlhoff Mon, 05 May 2014 08:29:08 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9024#comment:1 https://svn.boost.org/trac10/ticket/9024#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> As with <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9745" title="#9745: Bugs: Move invoke, alloc, and continuation helpers out of detail (closed: invalid)">#9745</a>, I'm having trouble understanding the "impossible" part :) Please supply a use case and example. </p> <p> Please note that the global namespace was a side effect of some compilers that didn't implement ADL correctly (possibly Borland? I can't remember) and my incomplete understanding of ADL at the time. I don't believe it is required any more. </p> Ticket