Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 822 Bytes

File metadata and controls

40 lines (27 loc) · 822 Bytes

コンストラクタ

  • stop_token[meta header]
  • function[meta id-type]
  • std[meta namespace]
  • inplace_stop_source[meta class]
  • cpp26[meta cpp]
constexpr inplace_stop_source() noexcept;

概要

デフォルトコンストラクタ。停止状態を表すリソースを新たに確保して所有する。

効果

*this内部に新しい停止状態を初期化する。

事後条件

stop_requested() == false

例外

投げない

バージョン

言語

  • C++26

処理系

参照