Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit f556a7874b.
PrevUpHomeNext
saved_handler::emplace (2 of 2 overloads)

Store a completion handler in the container.

Synopsis
template<
    class Handler>
void
emplace(
    Handler&& handler);
Description

Requires this->has_value() == false . The implementation will use the handler's associated allocator to obtian storage.

Parameters

Name

Description

handler

The completion handler to store. The implementation takes ownership of the handler by performing a decay-copy.


PrevUpHomeNext