Skip to content

Commit 2a3292f

Browse files
Eelistkoeppe
authored andcommitted
[meta.type.synop,meta.help] Use \libglobal for indexing
1 parent 8337cb6 commit 2a3292f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

source/meta.tex

+4-5
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@
160160
template<class T, T v> struct integral_constant;
161161

162162
template<bool B>
163-
using bool_constant = integral_constant<bool, B>;
164-
using true_type = bool_constant<true>;
165-
using false_type = bool_constant<false>;
163+
using @\libglobal{bool_constant}@ = integral_constant<bool, B>;
164+
using @\libglobal{true_type}@ = bool_constant<true>;
165+
using @\libglobal{false_type}@ = bool_constant<false>;
166166

167167
// \ref{meta.unary.cat}, primary type categories
168168
template<class T> struct is_void;
@@ -595,7 +595,7 @@
595595
\indexlibrarymember{value_type}{integral_constant}%
596596
\begin{codeblock}
597597
namespace std {
598-
template<class T, T v> struct integral_constant {
598+
template<class T, T v> struct @\libglobal{integral_constant}@ {
599599
static constexpr T value = v;
600600

601601
using value_type = T;
@@ -607,7 +607,6 @@
607607
}
608608
\end{codeblock}
609609

610-
\indexlibraryglobal{integral_constant}%
611610
\indexlibraryglobal{bool_constant}%
612611
\indexlibraryglobal{true_type}%
613612
\indexlibraryglobal{false_type}%

0 commit comments

Comments
 (0)