| Home | Libraries | People | FAQ | More

###### saved_handler::emplace (2 of 2 overloads)

Store a completion handler in the container.

<h7> Synopsis </h7>

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

<h7> Description </h7>

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

<h7> Parameters </h7>

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