BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bsl::nostopstate_t Struct Reference

#include <bslstl_stoptoken.h>

Detailed Description

An object of this empty struct can be passed to the constructor of stop_source to create a stop_source object that does not refer to any stop state.

See bslstl_stoptoken

Public Member Functions

BSLS_KEYWORD_CONSTEXPR nostopstate_t () BSLS_KEYWORD_NOEXCEPT
 

Constructor & Destructor Documentation

◆ nostopstate_t()

BSLS_KEYWORD_CONSTEXPR bsl::nostopstate_t::nostopstate_t ( )
inlineexplicit

Create a nostopstate_t value.

This constexpr function must be defined before it can be used to initialize the constexpr variable nostopstate, below.


The documentation for this struct was generated from the following file: