# std::unstoppable_token

> C++ Atlas: `cppatlas.com/w/cpp/thread/unstoppable_token` | Source: https://en.cppreference.com/w/cpp/thread/unstoppable_token | Domain: Concurrency support | Standards: C++26

The concept unstoppable_token<Token> specifies an additional requirement for a stoppable_token where the type does not allow stopping.

## Official Specification Summary (cppreference)

```cpp
// Defined in header <stop_token>

template< class Token >
concept unstoppable_token =
    std::stoppable_token<Token> &&
    requires (const Token tok) {
        requires std::bool_constant<(!tok.stop_possible())>::value;
    }; // (since C++26)
```

The concept `unstoppable_token<Token>` specifies an additional requirement for a `stoppable_token` where the type does not allow stopping. That is, the expression `tok.stop_possible()` must be usable in constant expression and returns `false`.

---
Attribution: content from https://en.cppreference.com/w/cpp/thread/unstoppable_token (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.