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 adcd4c09f0.
PrevUpHomeNext
websocket::stream_base::decorator::decorator (2 of 2 overloads)

Construct a decorator option.

Synopsis
template<
    class Decorator>
decorator(
    Decorator&& f);
Parameters

Name

Description

f

An invocable function object. Ownership of the function object is transferred by decay-copy.


PrevUpHomeNext