diff --git a/source/meta.tex b/source/meta.tex index 826751624b..6f36ee8b76 100644 --- a/source/meta.tex +++ b/source/meta.tex @@ -209,7 +209,7 @@ template struct @\exposidnc{cw-fixed-value}@; // \expos - template<@\exposidnc{cw-fixed-value}@ X, class = typename decltype(X)::@\exposid{type}@> + template<@\exposidnc{cw-fixed-value}@ X, class = decltype(X)::@\exposid{type}@> struct constant_wrapper; template diff --git a/source/numerics.tex b/source/numerics.tex index b2d2e2ca07..9fa3cdc268 100644 --- a/source/numerics.tex +++ b/source/numerics.tex @@ -16829,8 +16829,8 @@ \begin{codeblock} namespace std::simd { // \ref{simd.traits}, type traits - template struct alignment; - template + template struct alignment; + template constexpr size_t @\libmember{alignment_v}{simd}@ = alignment::value; template struct rebind { using type = @\seebelow@; }; @@ -17470,7 +17470,7 @@ \indexlibrarymember{alignment}{simd} \begin{itemdecl} -template struct alignment { @\seebelow@ }; +template struct alignment { @\seebelow@ }; \end{itemdecl} \begin{itemdescr} diff --git a/source/text.tex b/source/text.tex index c165904932..c8c6ec408c 100644 --- a/source/text.tex +++ b/source/text.tex @@ -7120,7 +7120,7 @@ \begin{codeblock} template>> + class Formatter = Context::template formatter_type>> concept @\defexposconcept{formattable-with}@ = // \expos @\libconcept{semiregular}@ && requires(Formatter& f, const Formatter& cf, T&& t, Context fc, @@ -9588,7 +9588,7 @@ // \ref{re.regiter}, class template \tcode{regex_iterator} template::value_type, + class charT = iterator_traits::value_type, class traits = regex_traits> class regex_iterator; @@ -9599,7 +9599,7 @@ // \ref{re.tokiter}, class template \tcode{regex_token_iterator} template::value_type, + class charT = iterator_traits::value_type, class traits = regex_traits> class regex_token_iterator; @@ -12281,7 +12281,7 @@ \begin{codeblock} namespace std { template::value_type, + class charT = iterator_traits::value_type, class traits = regex_traits> class regex_iterator { public: @@ -12552,7 +12552,7 @@ \begin{codeblock} namespace std { template::value_type, + class charT = iterator_traits::value_type, class traits = regex_traits> class regex_token_iterator { public: diff --git a/source/time.tex b/source/time.tex index 7fa1323a0f..d517367c20 100644 --- a/source/time.tex +++ b/source/time.tex @@ -65,7 +65,7 @@ template> class duration; // \ref{time.point}, class template \tcode{time_point} - template class time_point; + template class time_point; } namespace std { @@ -2213,7 +2213,7 @@ \indexlibraryglobal{time_point}% \begin{codeblock} namespace std::chrono { - template + template class time_point { public: using clock = Clock;