BloombergLP::bslstl::StopCallback_CallbackStorage<t_CALLBACK, true>

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

Name
allocator_type

Member Functions

NameDescription
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.