BloombergLP::bslstl::StopCallback_Node::StopCallback_Node

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);
» more...

Create a StopCallback_Node object whose stored callable is constructed by forwarding from the specified arg; the specified allocator is used to supply memory if t_CALLBACK is allocator-aware (and ignored otherwise).

template<
    class t_ALLOC,
    class t_ARG>
StopCallback_Node(
    t_ALLOC const& allocator,
    t_ARG&& arg);
» more...