Topic: Defect Report: [basic.fundamental] says bool values behave as types


Author: gennaro.prota@yahoo.com (Gennaro Prota)
Date: Wed, 14 Mar 2007 16:35:09 GMT
Raw View
3.9.1 [basic.fundamental], par. 6 states:

  As described below, bool values behave as integral types.
  Values of type bool participate in integral promotions (4.5).

The sentence "bool values behave as integral types" looks definitely
out of order: how can a value behave as a type?

Proposed resolution

 Remove the sentence "As described below, bool values behave
 as integral types.", as it doesn't carry anything which isn't
 already stated in the following paragraph(s) and in the
 referenced to section about integral promotion.

--
Genny.

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