get_stop_token -- jthread : get_stop_tokenを追加 #689

1 · cpprefjp · Nov. 28, 2022, 9:33 a.m.
diff --git a/reference/thread/jthread/get_stop_token.md b/reference/thread/jthread/get_stop_token.md new file mode 100644 index 000000000..053785ba8 --- /dev/null +++ b/reference/thread/jthread/get_stop_token.md @@ -0,0 +1,69 @@ +# get_stop_token +* thread[meta header] +* std[meta namespace] +* jthread[meta class] +* function[meta id-type] +* cpp20[meta cpp] + +```cpp +[[nodiscard]] stop_token get_stop_token() const noexcept; +``` +* stop_token[link /reference/stop_token/stop_token.md] + + +## 概...