# std::nostopstate

From cppreference.com
< cpp‎ | thread‎ | stop source

Defined in header `<stop_token>` |  |
inline constexpr std::nostopstate_t nostopstate{}; |  | (since C++20)

This is a constant object instance of std::nostopstate_t for use in constructing an empty std::stop_source, as a placeholder value in the non-default constructor.

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/thread/stop_source/nostopstate&oldid=114848"