Topic: What are "basic integral types"?


Author: "=?iso-8859-1?q?Daniel_Kr=FCgler?=" <daniel.kruegler@googlemail.com>
Date: Fri, 16 Feb 2007 02:01:58 CST
Raw View
Hello,

both the current C++ Standard 14882:2003(E) as well as the current
draft n2134 use the notion of a "basic integral types" at two places:

1) Note 174 says:
"An implicit exception to this rule are types described as synonyms
for
basic integral types, such as size_t (18.1) and streamoff (27.4.1)."

2) 27.4.1 p. 2 says:
"The type streamsize is a synonym for one of the signed basic
integral
types.[..]"

While for 14882:2003(E) one could have simply interpreted this to
mean actually "integral type" following the definition from 3.9.1,
this
will become more vague for the upcoming standard, which
distinguishes so-called standard integer types and extended integer
types in this section.

So what is a "basic integral type"? Shouldn't this term be clarified
in
the Standard?

Greetings from Bremen,

Daniel Kr   gler


---
[ 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                      ]