libycxx

constructor · 3 overloads

std::inplace_stop_callback::inplace_stop_callback

Scope
std::inplace_stop_callback
cppreference
<stop_token> nearest page

Constructors

Overloads

  1. inplace_stop_callback(const inplace_stop_callback& other) = delete;
    (1)
  2. inplace_stop_callback(inplace_stop_callback&& other) = delete;
    (2)
  3. template<class Initializer>
      requires constructible_from<CallbackFn, Initializer>
    explicit inplace_stop_callback(
        inplace_stop_token st,
        Initializer&& init) noexcept(is_nothrow_constructible_v<CallbackFn, Initializer>);
    (3)