Skip to content

Commit

Permalink
[futures.state] Turn note into example
Browse files Browse the repository at this point in the history
Fixes ISO/CS comment (C++23 proof)
  • Loading branch information
jensmaurer authored and tkoeppe committed Jul 9, 2024
1 parent 861f07d commit a7a2cbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/threads.tex
Original file line number Diff line number Diff line change
Expand Up @@ -10259,9 +10259,9 @@
state.
The result of a shared state is set by
respective functions on the asynchronous provider.
\begin{note}
Such as promises or tasks.
\end{note}
\begin{example}
Promises and tasks are examples of asynchronous providers.
\end{example}
The means of setting the result of a shared state is specified
in the description of those classes and functions that create such a state object.

Expand Down

0 comments on commit a7a2cbd

Please sign in to comment.