diff --git a/source/utilities.tex b/source/utilities.tex index 54df0b8dcc..8e1ba94f2d 100644 --- a/source/utilities.tex +++ b/source/utilities.tex @@ -123,14 +123,14 @@ requires requires { typename pair, UQual>, common_reference_t, UQual>>; } struct basic_common_reference, pair, TQual, UQual> { - using type = pair, UQual>, + using @\libmember{type}{basic_common_reference}@ = pair, UQual>, common_reference_t, UQual>>; }; template requires requires { typename pair, common_type_t>; } struct common_type, pair> { - using type = pair, common_type_t>; + using @\libmember{type}{common_type}@ = pair, common_type_t>; }; // \ref{pairs.spec}, pair specialized algorithms @@ -752,8 +752,8 @@ namespace std { template struct pair { - using first_type = T1; - using second_type = T2; + using @\libmember{first_type}{pair}@ = T1; + using @\libmember{second_type}{pair}@ = T2; T1 first; T2 second; @@ -1399,7 +1399,7 @@ \begin{itemdecl} template struct tuple_element> { - using type = @\seebelow@ ; + using @\libmember{type}{tuple_element}@ = @\seebelow@ ; }; \end{itemdecl} \begin{itemdescr} @@ -2785,7 +2785,7 @@ \begin{itemdecl} template struct tuple_element> { - using type = TI; + using @\libmember{type}{tuple_element}@ = TI; }; \end{itemdecl} @@ -3062,7 +3062,7 @@ template<@\exposconcept{tuple-like}@ TTuple, @\exposconcept{tuple-like}@ UTuple, template class TQual, template class UQual> struct basic_common_reference { - using type = @\seebelow@; + using @\libmember{type}{basic_common_reference}@ = @\seebelow@; }; \end{itemdecl} @@ -3091,7 +3091,7 @@ \begin{itemdecl} template<@\exposconcept{tuple-like}@ TTuple, @\exposconcept{tuple-like}@ UTuple> struct common_type { - using type = @\seebelow@; + using @\libmember{type}{common_type}@ = @\seebelow@; }; \end{itemdecl} @@ -3283,9 +3283,9 @@ template class optional { public: - using value_type = T; - using iterator = @\impdefnc@; // see~\ref{optional.iterators} - using const_iterator = @\impdefnc@; // see~\ref{optional.iterators} + using @\libmember{value_type}{optional}@ = T; + using @\libmember{iterator}{optional}@ = @\impdefnc@; // see~\ref{optional.iterators} + using @\libmember{const_iterator}{optional}@ = @\impdefnc@; // see~\ref{optional.iterators} // \ref{optional.ctor}, constructors constexpr optional() noexcept; @@ -4050,8 +4050,8 @@ \indexlibrarymember{iterator}{optional}% \indexlibrarymember{const_iterator}{optional}% \begin{itemdecl} -using iterator = @\impdef@; -using const_iterator = @\impdef@; +using @\libmember{iterator}{optional}@ = @\impdef@; +using @\libmember{const_iterator}{optional}@ = @\impdef@; \end{itemdecl} \begin{itemdescr} @@ -11107,7 +11107,7 @@ template class reference_wrapper { public: // types - using type = T; + using @\libmember{type}{reference_wrapper}@ = T; // \ref{refwrap.const}, constructors template @@ -11427,14 +11427,14 @@ requires (@\exposconcept{ref-wrap-common-reference-exists-with}@, TQual> && !@\exposconcept{ref-wrap-common-reference-exists-with}@, RQual>) struct basic_common_reference { - using type = common_reference_t>; + using @\libmember{type}{basic_common_reference}@ = common_reference_t>; }; template class TQual, template class RQual> requires (@\exposconcept{ref-wrap-common-reference-exists-with}@, TQual> && !@\exposconcept{ref-wrap-common-reference-exists-with}@, RQual>) struct basic_common_reference { - using type = common_reference_t>; + using @\libmember{type}{basic_common_reference}@ = common_reference_t>; }; } \end{codeblock} @@ -11473,7 +11473,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) + std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{plus<>}@ = @\unspec@; }; \end{itemdecl} @@ -11515,7 +11515,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) - std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{minus<>}@ = @\unspec@; }; \end{itemdecl} @@ -11557,7 +11557,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) * std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{multiplies<>}@ = @\unspec@; }; \end{itemdecl} @@ -11599,7 +11599,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) / std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{divides<>}@ = @\unspec@; }; \end{itemdecl} @@ -11641,7 +11641,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) % std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{modulus<>}@ = @\unspec@; }; \end{itemdecl} @@ -11683,7 +11683,7 @@ template constexpr auto operator()(T&& t) const -> decltype(-std::forward(t)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{negate<>}@ = @\unspec@; }; \end{itemdecl} @@ -11751,7 +11751,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) == std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{equal_to<>}@ = @\unspec@; }; \end{itemdecl} @@ -11793,7 +11793,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) != std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{not_equal_to<>}@ = @\unspec@; }; \end{itemdecl} @@ -11835,7 +11835,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) > std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{greater<>}@ = @\unspec@; }; \end{itemdecl} @@ -11877,7 +11877,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) < std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{less<>}@ = @\unspec@; }; \end{itemdecl} @@ -11919,7 +11919,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) >= std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{greater_equal<>}@ = @\unspec@; }; \end{itemdecl} @@ -11961,7 +11961,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) <= std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{less_equal<>}@ = @\unspec@; }; \end{itemdecl} @@ -11986,7 +11986,7 @@ template constexpr auto operator()(T&& t, U&& u) const; - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{compare_three_way}@ = @\unspec@; }; } \end{codeblock} @@ -12035,7 +12035,7 @@ template constexpr bool operator()(T&& t, U&& u) const; - using is_transparent = @\unspecnc@; + using @\libmember{is_transparent}{equal_to}@ = @\unspecnc@; }; \end{codeblock} @@ -12079,7 +12079,7 @@ template constexpr bool operator()(T&& t, U&& u) const; - using is_transparent = @\unspecnc@; + using @\libmember{is_transparent}{not_equal_to}@ = @\unspecnc@; }; \end{codeblock} @@ -12107,7 +12107,7 @@ template constexpr bool operator()(T&& t, U&& u) const; - using is_transparent = @\unspecnc@; + using @\libmember{is_transparent}{greater}@ = @\unspecnc@; }; \end{codeblock} @@ -12135,7 +12135,7 @@ template constexpr bool operator()(T&& t, U&& u) const; - using is_transparent = @\unspecnc@; + using @\libmember{is_transparent}{less}@ = @\unspecnc@; }; \end{codeblock} @@ -12186,7 +12186,7 @@ template constexpr bool operator()(T&& t, U&& u) const; - using is_transparent = @\unspecnc@; + using @\libmember{is_transparent}{greater_equal}@ = @\unspecnc@; }; \end{codeblock} @@ -12214,7 +12214,7 @@ template constexpr bool operator()(T&& t, U&& u) const; - using is_transparent = @\unspecnc@; + using @\libmember{is_transparent}{less_equal}@ = @\unspecnc@; }; \end{itemdecl} @@ -12270,7 +12270,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) && std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{logical_and<>}@ = @\unspec@; }; \end{itemdecl} @@ -12312,7 +12312,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) || std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{logical_or<>}@ = @\unspec@; }; \end{itemdecl} @@ -12354,7 +12354,7 @@ template constexpr auto operator()(T&& t) const -> decltype(!std::forward(t)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{logical_not<>}@ = @\unspec@; }; \end{itemdecl} @@ -12405,7 +12405,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) & std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{bit_and<>}@ = @\unspec@; }; \end{itemdecl} @@ -12447,7 +12447,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) | std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{bit_or<>}@ = @\unspec@; }; \end{itemdecl} @@ -12489,7 +12489,7 @@ template constexpr auto operator()(T&& t, U&& u) const -> decltype(std::forward(t) ^ std::forward(u)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{bit_xor<>}@ = @\unspec@; }; \end{itemdecl} @@ -12530,7 +12530,7 @@ template constexpr auto operator()(T&& t) const -> decltype(~std::forward(t)); - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{bit_not<>}@ = @\unspec@; }; \end{itemdecl} @@ -12555,7 +12555,7 @@ template constexpr T&& operator()(T&& t) const noexcept; - using is_transparent = @\unspec@; + using @\libmember{is_transparent}{identity}@ = @\unspec@; }; template @@ -13107,7 +13107,7 @@ template class function { public: - using result_type = R; + using @\libmember{result_type}{function}@ = R; // \ref{func.wrap.func.con}, construct/copy/destroy function() noexcept; @@ -13565,7 +13565,7 @@ template class move_only_function { public: - using result_type = R; + using @\libmember{result_type}{move_only_function}@ = R; // \ref{func.wrap.move.ctor}, constructors, assignment, and destructor move_only_function() noexcept; @@ -13958,7 +13958,7 @@ template class copyable_function { public: - using result_type = R; + using @\libmember{result_type}{copyable_function}@ = R; // \ref{func.wrap.copy.ctor}, constructors, assignments, and destructors copyable_function() noexcept;