...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
A function object type that adapts a completion token to cancel an operation at a given time.
template< typename Clock, typename WaitTraits = boost::asio::wait_traits<Clock>> class partial_cancel_at
Name |
Description |
---|---|
Adapt a completion token to specify that the completion handler arguments should be combined into a single tuple argument. |
|
partial_cancel_at [constructor] |
Constructor that specifies the expiry and cancellation type. |
Name |
Description |
---|---|
May also be used directly as a completion token, in which case it adapts
the asynchronous operation's default completion token (or deferred
if no default is available).
Header: boost/asio/cancel_at.hpp
Convenience header: boost/asio.hpp