Opened 9 years ago

Closed 8 years ago

#9745 closed Bugs (invalid)

Move invoke, alloc, and continuation helpers out of detail

Reported by: vinnie.falco@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

Currently these files are in boost/asio/detail/:

handler_alloc_helpers.hpp
handler_cont_helpers.hpp
handler_invoke_helpers.hpp

I believe that these should not be a detail but rather, part of the official asio interface. The rationale is that if someone wants to write a handler wrapper that provides the same io_service execution guarantees (for example, something like boost::detail::rewrapped_handler), they cannot do so efficiently without relying on detail functions.

Change History (1)

comment:1 by chris_kohlhoff, 8 years ago

Resolution: invalid
Status: newclosed

Why do you think these are necessary? If possible, please provide a use case and an example. I have implemented the hooks in other projects without using anything out of the asio::detail namespace. Mostly this stuff just exists to support old compilers.

Note: See TracTickets for help on using tickets.