Constructors
Synopses
Declared in <bslstl_stoptoken.h>
Same as the preceding overload for a non‐const lvalue arg.
template<
class t_ALLOC,
class t_ARG>
StopCallback_Node(
t_ALLOC const& allocator,
t_ARG& arg);
Create a node whose stored callable is constructed from arg.
template<
class t_ALLOC,
class t_ARG>
StopCallback_Node(
t_ALLOC const& allocator,
t_ARG&& arg);
Parameters
Name |
Description |
allocator |
allocator used to supply memory when needed |
arg |
argument forwarded to construct the stored callable |
Created with MrDocs