From e46253cd988864f680d14fb3b18436fa4be16e04 Mon Sep 17 00:00:00 2001 From: Jens Maurer Date: Fri, 17 May 2024 00:44:32 +0200 Subject: [PATCH 1/2] [futures.state] Turn note into example Fixes ISO/CS comment (C++23 proof) --- source/threads.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/threads.tex b/source/threads.tex index 354a99f6ba..03b51fae77 100644 --- a/source/threads.tex +++ b/source/threads.tex @@ -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} +Examples for asynchronous providers include promises or tasks. +\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. From f82a50899048eaa315221c4109c871fdde9eedbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20K=C3=B6ppe?= Date: Tue, 9 Jul 2024 15:15:51 +0000 Subject: [PATCH 2/2] Update source/threads.tex Co-authored-by: Jonathan Wakely --- source/threads.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/threads.tex b/source/threads.tex index 03b51fae77..a2b68407b0 100644 --- a/source/threads.tex +++ b/source/threads.tex @@ -10260,7 +10260,7 @@ The result of a shared state is set by respective functions on the asynchronous provider. \begin{example} -Examples for asynchronous providers include promises or tasks. +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.