Skip to content

Commit 38b6811

Browse files
jwakelyzygoloid
authored andcommitted
[numeric.limits] use "primary template" and "value-initialized"
Improve the language used to describe the primary template and the values of its members.
1 parent 1536e33 commit 38b6811

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

source/support.tex

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -885,11 +885,14 @@
885885
constant expressions.
886886

887887
\pnum
888-
The default
889-
\tcode{numeric_limits<T>}
890-
template shall have all members, but with 0 or
891-
\tcode{false}
892-
values.
888+
For the
889+
\tcode{numeric_limits}
890+
primary template, all data members are value-initialized and all
891+
member functions return a value-initialized object.
892+
\begin{note}
893+
This means all members have zero or \tcode{false} values
894+
unless \tcode{numeric_limits} is specialized for a type.
895+
\end{note}
893896

894897
\pnum
895898
Specializations shall be provided for each

0 commit comments

Comments
 (0)