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 from arg.

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

Parameters

Name

Description

allocator

allocator used to supply memory when needed

arg

argument forwarded to construct t_CALLBACK

Created with MrDocs