BloombergLP::bslstl::StopCallback_CallbackStorage::StopCallback_CallbackStorage

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);
» more...

Initialize the stored callback by forwarding from arg.

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

Parameters

NameDescription
allocatorallocator used to supply memory when needed
argargument forwarded to construct t_CALLBACK