Skip to content

Commit 4f08918

Browse files
jwakelyzygoloid
authored andcommitted
[meta.trans] replace "shall name" with "names" in traits tables
1 parent 42c6d5c commit 4f08918

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

source/utilities.tex

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16423,7 +16423,7 @@
1642316423
\indexlibrary{\idxcode{remove_const}}%
1642416424
\tcode{template <class T>\br
1642516425
struct remove_const;} &
16426-
The member typedef \tcode{type} shall name
16426+
The member typedef \tcode{type} names
1642716427
the same type as \tcode{T}
1642816428
except that any top-level const-qualifier has been removed.
1642916429
\begin{example} \tcode{remove_const_t<const volatile int>} evaluates
@@ -16433,7 +16433,7 @@
1643316433
\indexlibrary{\idxcode{remove_volatile}}%
1643416434
\tcode{template <class T>\br
1643516435
struct remove_volatile;} &
16436-
The member typedef \tcode{type} shall name
16436+
The member typedef \tcode{type} names
1643716437
the same type as \tcode{T}
1643816438
except that any top-level volatile-qualifier has been removed.
1643916439
\begin{example} \tcode{remove_volatile_t<const volatile int>}
@@ -16454,22 +16454,22 @@
1645416454
\tcode{template <class T>\br
1645516455
struct add_const;} &
1645616456
If \tcode{T} is a reference, function, or top-level const-qualified
16457-
type, then \tcode{type} shall name
16457+
type, then \tcode{type} names
1645816458
the same type as \tcode{T}, otherwise
1645916459
\tcode{T const}. \\ \rowsep
1646016460

1646116461
\indexlibrary{\idxcode{add_volatile}}%
1646216462
\tcode{template <class T>\br
1646316463
struct add_volatile;} &
1646416464
If \tcode{T} is a reference, function, or top-level volatile-qualified
16465-
type, then \tcode{type} shall name
16465+
type, then \tcode{type} names
1646616466
the same type as \tcode{T}, otherwise
1646716467
\tcode{T volatile}. \\ \rowsep
1646816468

1646916469
\indexlibrary{\idxcode{add_cv}}%
1647016470
\tcode{template <class T>\br
1647116471
struct add_cv;} &
16472-
The member typedef \tcode{type} shall name
16472+
The member typedef \tcode{type} names
1647316473
the same type as
1647416474
\tcode{add_const_t<add_volatile_t<T>{>}}. \\
1647516475
\end{libreqtab2a}
@@ -16489,15 +16489,15 @@
1648916489
\tcode{template <class T>\br
1649016490
struct remove_reference;} &
1649116491
If \tcode{T} has type ``reference to \tcode{T1}'' then the
16492-
member typedef \tcode{type} shall name \tcode{T1};
16493-
otherwise, \tcode{type} shall name \tcode{T}.\\ \rowsep
16492+
member typedef \tcode{type} names \tcode{T1};
16493+
otherwise, \tcode{type} names \tcode{T}.\\ \rowsep
1649416494

1649516495
\indexlibrary{\idxcode{add_lvalue_reference}}%
1649616496
\tcode{template <class T>\br
1649716497
struct add_lvalue_reference;} &
1649816498
If \tcode{T} names a referenceable type (\ref{defns.referenceable}) then
16499-
the member typedef \tcode{type} shall name \tcode{T\&};
16500-
otherwise, \tcode{type} shall name \tcode{T}.
16499+
the member typedef \tcode{type} names \tcode{T\&};
16500+
otherwise, \tcode{type} names \tcode{T}.
1650116501
\begin{note}
1650216502
This rule reflects the semantics of reference collapsing~(\ref{dcl.ref}).
1650316503
\end{note}\\ \rowsep
@@ -16506,8 +16506,8 @@
1650616506
\tcode{template <class T>}\br
1650716507
\tcode{struct add_rvalue_reference;} &
1650816508
If \tcode{T} names a referenceable type then
16509-
the member typedef \tcode{type} shall name \tcode{T\&\&};
16510-
otherwise, \tcode{type} shall name \tcode{T}.
16509+
the member typedef \tcode{type} names \tcode{T\&\&};
16510+
otherwise, \tcode{type} names \tcode{T}.
1651116511
\begin{note} This rule reflects the semantics of reference collapsing~(\ref{dcl.ref}).
1651216512
For example, when a type \tcode{T} names a type \tcode{T1\&}, the type
1651316513
\tcode{add_rvalue_reference_t<T>} is not an rvalue reference.
@@ -16529,11 +16529,11 @@
1652916529
\tcode{struct make_signed;} &
1653016530
If \tcode{T} names a (possibly cv-qualified) signed integer
1653116531
type~(\ref{basic.fundamental}) then the member typedef
16532-
\tcode{type} shall name the type \tcode{T}; otherwise,
16532+
\tcode{type} names the type \tcode{T}; otherwise,
1653316533
if \tcode{T} names a (possibly cv-qualified) unsigned integer
16534-
type then \tcode{type} shall name the corresponding
16534+
type then \tcode{type} names the corresponding
1653516535
signed integer type, with the same cv-qualifiers as \tcode{T};
16536-
otherwise, \tcode{type} shall name the signed integer type with smallest
16536+
otherwise, \tcode{type} names the signed integer type with smallest
1653716537
rank~(\ref{conv.rank}) for which
1653816538
\tcode{sizeof(T) == sizeof(type)}, with the same
1653916539
cv-qualifiers as \tcode{T}.\br
@@ -16546,11 +16546,11 @@
1654616546
\tcode{struct make_unsigned;} &
1654716547
If \tcode{T} names a (possibly cv-qualified) unsigned integer
1654816548
type~(\ref{basic.fundamental}) then the member typedef
16549-
\tcode{type} shall name the type \tcode{T}; otherwise,
16549+
\tcode{type} names the type \tcode{T}; otherwise,
1655016550
if \tcode{T} names a (possibly cv-qualified) signed integer
16551-
type then \tcode{type} shall name the corresponding
16551+
type then \tcode{type} names the corresponding
1655216552
unsigned integer type, with the same cv-qualifiers as \tcode{T};
16553-
otherwise, \tcode{type} shall name the unsigned integer type with smallest
16553+
otherwise, \tcode{type} names the unsigned integer type with smallest
1655416554
rank~(\ref{conv.rank}) for which
1655516555
\tcode{sizeof(T) == sizeof(type)}, with the same
1655616556
cv-qualifiers as \tcode{T}.\br
@@ -16624,16 +16624,16 @@
1662416624
struct remove_pointer;} &
1662516625
If \tcode{T} has type ``(possibly cv-qualified) pointer
1662616626
to \tcode{T1}'' then the member typedef \tcode{type}
16627-
shall name \tcode{T1}; otherwise, it shall name \tcode{T}.\\ \rowsep
16627+
names \tcode{T1}; otherwise, it names \tcode{T}.\\ \rowsep
1662816628

1662916629
\indexlibrary{\idxcode{add_pointer}}%
1663016630
\tcode{template <class T>\br
1663116631
struct add_pointer;} &
1663216632
If \tcode{T} names a referenceable type (\ref{defns.referenceable}) or a
1663316633
\cv{}~\tcode{void} type then
16634-
the member typedef \tcode{type} shall name the same type as
16634+
the member typedef \tcode{type} names the same type as
1663516635
\tcode{remove_reference_t<T>*};
16636-
otherwise, \tcode{type} shall name \tcode{T}. \\
16636+
otherwise, \tcode{type} names \tcode{T}. \\
1663716637
\end{libreqtab2a}
1663816638
\clearpage
1663916639

@@ -16717,7 +16717,7 @@
1671716717
\tcode{template <class T>}\br
1671816718
\tcode{struct underlying_type;}
1671916719
&
16720-
The member typedef \tcode{type} shall name the underlying type
16720+
The member typedef \tcode{type} names the underlying type
1672116721
of \tcode{T}.\br
1672216722
\requires{} \tcode{T} shall be a complete enumeration type~(\ref{dcl.enum}) \\ \rowsep
1672316723

@@ -16728,7 +16728,7 @@
1672816728
&
1672916729
If the expression \tcode{\textit{INVOKE}(declval<Fn>(), declval<ArgTypes>()...)}
1673016730
is well formed when treated as an unevaluated operand (Clause~\ref{expr}),
16731-
the member typedef \tcode{type} shall name the type
16731+
the member typedef \tcode{type} names the type
1673216732
\tcode{decltype(\textit{INVOKE}(declval<Fn>(), declval<ArgTypes>()...))};
1673316733
otherwise, there shall be no member \tcode{type}. Access checking is
1673416734
performed as if in a context unrelated to \tcode{Fn} and

0 commit comments

Comments
 (0)