Skip to content

Commit 6a4c11e

Browse files
authored
[stopsource.general] Restore accidentally deleted members in class definition (#7766)
These were removed in error in the application of P2300R10.
1 parent 9b8a5e5 commit 6a4c11e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/threads.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -919,6 +919,9 @@
919919
// \ref{stopsource.mem}, member functions
920920
void swap(stop_source&) noexcept;
921921

922+
stop_token get_token() const noexcept;
923+
bool stop_possible() const noexcept;
924+
bool stop_requested() const noexcept;
922925
bool request_stop() noexcept;
923926

924927
bool operator==(const stop_source& rhs) noexcept = default;

0 commit comments

Comments
 (0)