Stores a non-reference t_CALLBACK object for stop callbacks.
Declared in <bslstl_stoptoken.h>
template<
class t_CALLBACK,
bool t_IS_REFERENCE = bsl::is_reference<t_CALLBACK>::value>
class StopCallback_CallbackStorage;
The primary class template stores an object of non-reference type given by the template parameter t_CALLBACK. (That is, the primary template provides the implementation only when t_IS_REFERENCE is false.)
| Name | Description |
|---|---|
allocator_type | Allocator type used when t_CALLBACK is allocator-aware; otherwise an empty dummy type. |
| Name | Description |
|---|---|
StopCallback_CallbackStorage [constructor] | Constructors |
~StopCallback_CallbackStorage [destructor] | Destroy this object. |
callback | callback overloads |
| Name | Description |
|---|---|
StopCallback_CallbackStorage<t_CALLBACK, true> | This partial specialization stores a reference to a callback. |
| Name | Description |
|---|---|
StopCallback_Node | Component-private node storing a stop callback for StopState. |