Initialize the stored reference by forwarding from arg.

Synopsis

Declared in <bslstl_stoptoken.h>

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

Description

Note that the allocator argument is ignored because references are never allocator‐aware.

Parameters

Name

Description

allocator

ignored dummy allocator

arg

argument forwarded to bind the stored reference

Created with MrDocs