Topic: Defect Report: Misleading "built-in
Author: "whyglinux" <whyglinux@gmail.com>
Date: Tue, 8 Aug 2006 06:56:01 CST Raw View
18.2.1.2 numeric_limits members [lib.numeric.limits.members]
Paragraph 7:
"For built-in integer types, the number of non-sign bits in the
representation."
26.1 Numeric type requirements [lib.numeric.requirements]
Footnote:
"In other words, value types. These include built-in arithmetic types,
pointers, the library class complex, and instantiations of valarray for
value types."
Integer types (which are bool, char, wchar_t, and the signed and
unsigned integer types) and arithmetic types (which are integer and
floating types) are all built-in types and thus there are no
non-built-in (that is, user-defined) integer or arithmetic types. Since
the redundant "built-in" in the above 2 sentences can mislead that
there may be built-in or user-defined integer and arithmetic types
(which is not correct), the "built-in" should be removed.
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]