Skip to content

Commit 8337cb6

Browse files
Eelistkoeppe
authored andcommitted
[meta.trans.other] Use \libglobal for indexing
1 parent 92594a8 commit 8337cb6

File tree

1 file changed

+11
-21
lines changed

1 file changed

+11
-21
lines changed

source/meta.tex

+11-21
Original file line numberDiff line numberDiff line change
@@ -1907,21 +1907,18 @@
19071907
\lhdr{Template} & \rhdr{Comments} \\ \capsep
19081908
\endhead
19091909

1910-
\indexlibraryglobal{type_identity}%
19111910
\tcode{template<class T>\br
1912-
struct type_identity;}
1911+
struct \libglobal{type_identity};}
19131912
&
19141913
The member typedef \tcode{type} denotes \tcode{T}. \\ \rowsep
19151914

1916-
\indexlibraryglobal{remove_cvref}%
1917-
\tcode{template<class T>\br struct remove_cvref;}
1915+
\tcode{template<class T>\br struct \libglobal{remove_cvref};}
19181916
&
19191917
The member typedef \tcode{type} denotes
19201918
\tcode{remove_cv_t<remove_reference_t<T>>}.
19211919
\\ \rowsep
19221920

1923-
\indexlibraryglobal{decay}%
1924-
\tcode{template<class T>\br struct decay;}
1921+
\tcode{template<class T>\br struct \libglobal{decay};}
19251922
&
19261923
Let \tcode{U} be \tcode{remove_reference_t<T>}. If \tcode{is_array_v<U>} is
19271924
\tcode{true}, the member typedef \tcode{type} denotes
@@ -1937,16 +1934,15 @@
19371934
\end{tailnote}
19381935
\\ \rowsep
19391936

1940-
\indexlibraryglobal{enable_if}%
1941-
\tcode{template<bool B, class T = void>} \tcode{struct enable_if;}
1937+
\tcode{template<bool B, class T = void>} \tcode{struct \libglobal{enable_if};}
19421938
&
19431939
If \tcode{B} is \tcode{true}, the member typedef \tcode{type}
19441940
denotes \tcode{T}; otherwise, there shall be no member
19451941
\tcode{type}. \\ \rowsep
19461942

19471943
\tcode{template<bool B, class T,}
19481944
\tcode{class F>}\br
1949-
\tcode{struct conditional;}
1945+
\tcode{struct \libglobal{conditional};}
19501946
&
19511947
If \tcode{B} is \tcode{true}, the member typedef \tcode{type} denotes \tcode{T}.
19521948
If \tcode{B} is \tcode{false}, the member typedef \tcode{type} denotes \tcode{F}. \\ \rowsep
@@ -1959,36 +1955,32 @@
19591955
Each type in the template parameter pack \tcode{T} shall be
19601956
complete, \cv{}~\keyword{void}, or an array of unknown bound. \\ \rowsep
19611957

1962-
\indexlibraryglobal{basic_common_reference}%
19631958
\tcode{template<class, class,}
19641959
\hspace*{2ex}\tcode{template<class> class,}
19651960
\hspace*{2ex}\tcode{template<class> class>}
19661961
\keyword{struct}
1967-
\hspace*{2ex}\tcode{basic_common_reference;}
1962+
\hspace*{2ex}\tcode{\libglobal{basic_common_reference};}
19681963
&
19691964
Unless this trait is specialized,
19701965
there shall be no member \tcode{type}. \\ \rowsep
19711966

1972-
\indexlibraryglobal{common_reference}%
1973-
\tcode{template<class... T>} \tcode{struct common_reference;}
1967+
\tcode{template<class... T>} \tcode{struct \libglobal{common_reference};}
19741968
&
19751969
The member \grammarterm{typedef-name} \tcode{type} is defined or omitted
19761970
as specified below. Each type in the parameter pack \tcode{T} shall
19771971
be complete or \cv{} \keyword{void}. \\ \rowsep
19781972

1979-
\indexlibraryglobal{underlying_type}%
19801973
\tcode{template<class T>}\br
1981-
\tcode{struct underlying_type;}
1974+
\tcode{struct \libglobal{underlying_type};}
19821975
&
19831976
If \tcode{T} is an enumeration type, the member typedef \tcode{type} denotes
19841977
the underlying type of \tcode{T}\iref{dcl.enum};
19851978
otherwise, there is no member \tcode{type}.\br
19861979
\mandates \tcode{T} is not an incomplete enumeration type. \\ \rowsep
19871980

1988-
\indexlibraryglobal{invoke_result}%
19891981
\tcode{template<class Fn,}\br
19901982
\tcode{class... ArgTypes>}\br
1991-
\tcode{struct invoke_result;}
1983+
\tcode{struct \libglobal{invoke_result};}
19921984
&
19931985
If the expression \tcode{\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...)}\iref{func.require}
19941986
is well-formed when treated as an unevaluated operand\iref{term.unevaluated.operand},
@@ -2009,17 +2001,15 @@
20092001
are complete types, \cv{}~\keyword{void}, or arrays of
20102002
unknown bound.\\ \rowsep
20112003

2012-
\indexlibraryglobal{unwrap_reference}%
2013-
\tcode{template<class T>} \tcode{struct unwrap_reference;}
2004+
\tcode{template<class T>} \tcode{struct \libglobal{unwrap_reference};}
20142005
&
20152006
If \tcode{T} is
20162007
a specialization \tcode{reference_wrapper<X>} for some type \tcode{X},
20172008
the member typedef \tcode{type} of \tcode{unwrap_reference<T>}
20182009
denotes \tcode{X\&},
20192010
otherwise \tcode{type} denotes \tcode{T}. \\ \rowsep
20202011

2021-
\indexlibraryglobal{unwrap_ref_decay}%
2022-
\tcode{template<class T>} \tcode{unwrap_ref_decay;}
2012+
\tcode{template<class T>} \tcode{\libglobal{unwrap_ref_decay};}
20232013
&
20242014
The member typedef \tcode{type} of \tcode{unwrap_ref_decay<T>}
20252015
denotes the type \tcode{unwrap_reference_t<decay_t<T>>}.\\

0 commit comments

Comments
 (0)