...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Store a completion handler in the container.
template< class Handler> void emplace( Handler&& handler);
Requires this->has_value()
== false
.
The implementation will use the handler's associated allocator to obtian
storage.
Name |
Description |
---|---|
|
The completion handler to store. The implementation takes ownership of the handler by performing a decay-copy. |