This partial specialization stores a reference to a callback.

Synopsis

Declared in <bslstl_stoptoken.h>

template<class t_CALLBACK>
class StopCallback_CallbackStorage<t_CALLBACK, true>;

Type Aliases

Member Functions

Name

Description

StopCallback_CallbackStorage [constructor]

Initialize the stored reference by forwarding the specified arg. Note that the allocator argument is ignored because references are never allocator‐aware.

callback

Return an lvalue referring to the callback.

Created with MrDocs