|
899 | 899 |
|
900 | 900 | \pnum
|
901 | 901 | \indexlibrary{\idxcode{atomic_ref<\placeholder{integral}>}}%
|
902 |
| -There are specializations of the \tcode{atomic_ref} template |
| 902 | +There are specializations of the \tcode{atomic_ref} class template |
903 | 903 | for the integral types
|
904 | 904 | \tcode{char},
|
905 | 905 | \tcode{signed char},
|
|
916 | 916 | \tcode{char32_t},
|
917 | 917 | \tcode{wchar_t},
|
918 | 918 | and any other types needed by the typedefs in the header \tcode{<cstdint>}.
|
919 |
| -For each such integral type \tcode{\placeholder{integral}}, |
| 919 | +For each such type \tcode{\placeholder{integral}}, |
920 | 920 | the specialization \tcode{atomic_ref<\placeholder{integral}>} provides
|
921 | 921 | additional atomic operations appropriate to integral types.
|
922 | 922 | \begin{note}
|
|
1037 | 1037 |
|
1038 | 1038 | \pnum
|
1039 | 1039 | \indexlibrary{\idxcode{atomic_ref<\placeholder{floating-point}>}}%
|
1040 |
| -There are specializations of the \tcode{atomic_ref} template |
| 1040 | +There are specializations of the \tcode{atomic_ref} class template |
1041 | 1041 | for the floating-point types
|
1042 | 1042 | \tcode{float},
|
1043 | 1043 | \tcode{double}, and
|
1044 | 1044 | \tcode{long double}.
|
1045 |
| -For each such floating-point type \tcode{\placeholder{floating-point}}, |
1046 |
| -the specialization \tcode{atomic_ref<\placeholder{floating-point}>} provides |
| 1045 | +For each such type \tcode{\placeholder{floating-point}}, |
| 1046 | +the specialization \tcode{atomic_ref<\placeholder{floating-\-point}>} provides |
1047 | 1047 | additional atomic operations appropriate to floating-point types.
|
1048 | 1048 |
|
1049 | 1049 | \begin{codeblock}
|
|
1713 | 1713 | \indexlibrary{\idxcode{atomic<\placeholder{integral}>}}%
|
1714 | 1714 | \pnum
|
1715 | 1715 | There are specializations of the \tcode{atomic}
|
1716 |
| -template for the integral types |
| 1716 | +class template for the integral types |
1717 | 1717 | \tcode{char},
|
1718 | 1718 | \tcode{signed char},
|
1719 | 1719 | \tcode{unsigned char},
|
|
1729 | 1729 | \tcode{char32_t},
|
1730 | 1730 | \tcode{wchar_t},
|
1731 | 1731 | and any other types needed by the typedefs in the header \tcode{<cstdint>}.
|
1732 |
| -For each such integral type \tcode{\placeholder{integral}}, the specialization |
| 1732 | +For each such type \tcode{\placeholder{integral}}, the specialization |
1733 | 1733 | \tcode{atomic<\placeholder{integral}>} provides additional atomic operations appropriate to integral types.
|
1734 | 1734 | \begin{note}
|
1735 | 1735 | For the specialization \tcode{atomic<bool>}, see \ref{atomics.types.generic}.
|
|
1905 | 1905 | \indexlibrary{\idxcode{atomic<\placeholder{floating-point}>}}%
|
1906 | 1906 | \pnum
|
1907 | 1907 | There are specializations of the \tcode{atomic}
|
1908 |
| -template for the floating-point types |
| 1908 | +class template for the floating-point types |
1909 | 1909 | \tcode{float},
|
1910 | 1910 | \tcode{double}, and
|
1911 | 1911 | \tcode{long double}.
|
1912 |
| -For each such floating-point type \tcode{\placeholdernc{floating-point}}, |
| 1912 | +For each such type \tcode{\placeholdernc{floating-point}}, |
1913 | 1913 | the specialization \tcode{atomic<\placeholder{floating-point}>}
|
1914 | 1914 | provides additional atomic operations appropriate to floating-point types.
|
1915 | 1915 |
|
|
0 commit comments