Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #10749
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!aioe.org!news.mixmin.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Miles Bader <miles@gnu.org> |
| Newsgroups | comp.lang.c++ |
| Subject | Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" |
| Date | Sun, 09 Oct 2011 09:39:38 +0900 |
| Lines | 15 |
| Message-ID | <87mxdbhub9.fsf@catnip.gol.com> (permalink) |
| References | <bool-20110928162551@ram.dialup.fu-berlin.de> <3b622$4e836745$506c0d9c$29532@news.chello.at> <j5vpo3$ges$1@node2.news.atman.pl> <76c18$4e9017a9$506c0d9c$24473@news.chello.at> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| X-Trace | individual.net p3a5PXWq+lh14r8vM3tkJgbzbV65P/Z435q4JkRT3llGuU9Mtb |
| Cancel-Lock | sha1:75fNtMVKWx15903bakNzTCQRc00= sha1:NKAeY4TObIAQ+wee8R1JJtE4H3U= |
| System-Type | x86_64-unknown-linux-gnu |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.c++:10749 |
Show key headers only | View raw
Paul Brettschneider <paul.brettschneider@yahoo.fr> writes: > Either treat bools like a normal integer type (with a size optimized for the > use as flag, e.g. char for x86, int for RISC) or make the conversion non- > explicit. But I understand that the reasons for the standard compliant > behaviour are historical and this has been discussed at length before. One > of the terrible legacy things we have to live with. Wait, why is it "terrible"? This conversion seems perfectly reasonable. -miles -- Americans are broad-minded people. They'll accept the fact that a person can be an alcoholic, a dope fiend, a wife beater, and even a newspaperman, but if a man doesn't drive, there is something wrong with him. -- Art Buchwald
Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Paul Brettschneider <paul.brettschneider@yahoo.fr> - 2011-09-28 20:28 +0200
Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Edek <edek.pienkowski@gmail.com> - 2011-09-28 20:39 +0200
Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Paul Brettschneider <paul.brettschneider@yahoo.fr> - 2011-10-08 11:28 +0200
Re: "bool const a( 5 )" in "Microsoft Visual Studio C++ 2010" Miles Bader <miles@gnu.org> - 2011-10-09 09:39 +0900
csiph-web