Constructors

Synopses

Declared in <bslstl_stoptoken.h>

Same as the preceding overload.

template<class t_ARG>
StopCallback_CallbackStorage(
    allocator_type const& allocator,
    t_ARG& arg);

Initialize the stored callback by forwarding the specified arg to the constructor of t_CALLBACK; the specified allocator is used to supply memory if t_CALLBACK is allocator‐aware (and ignored otherwise).

template<class t_ARG>
StopCallback_CallbackStorage(
    allocator_type const& allocator,
    t_ARG&& arg);

Created with MrDocs