Initialize the stored callback by forwarding from arg.

Synopsis

Declared in <bslstl_stoptoken.h>

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

Description

The specified allocator is used to supply memory if t_CALLBACK is allocator‐aware (and ignored otherwise).

Parameters

Name

Description

allocator

allocator used to supply memory when needed

arg

argument forwarded to construct t_CALLBACK

Created with MrDocs