Skip to content

Commit

Permalink
[atomics.ref.int,atomics.types.int] Clarify notes on atomic/_ref<bool…
Browse files Browse the repository at this point in the history
…> specializations.

Fixes NB US 357 (C++20 CD)
  • Loading branch information
jensmaurer authored and zygoloid committed Oct 30, 2019
1 parent 195d5ba commit af747d6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/atomics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,8 @@
the specialization \tcode{atomic_ref<\placeholder{integral}>} provides
additional atomic operations appropriate to integral types.
\begin{note}
For the specialization \tcode{atomic_ref<bool>}, see \ref{atomics.ref.generic}.
The specialization \tcode{atomic_ref<bool>}
uses the primary template\iref{atomics.ref.generic}.
\end{note}

\begin{codeblock}
Expand Down Expand Up @@ -2102,7 +2103,8 @@
For each such type \tcode{\placeholder{integral}}, the specialization
\tcode{atomic<\placeholder{integral}>} provides additional atomic operations appropriate to integral types.
\begin{note}
For the specialization \tcode{atomic<bool>}, see \ref{atomics.types.generic}.
The specialization \tcode{atomic<bool>}
uses the primary template\iref{atomics.types.generic}.
\end{note}

\begin{codeblock}
Expand Down

0 comments on commit af747d6

Please sign in to comment.