Size of bool unspecified: why?7936 (7/16/2011 10:33:22 AM) comp.lang.c++ Why is the size of 'bool' unspecified? That makes bools pretty useless as struct members. If one foregoes bools in structs, why not then specify that bools should be the size of int and thereby likely to be f... MikeP
Implicit convervsion of bool to int: why?1751 (7/16/2011 9:29:14 AM) comp.lang.c++ Why can bool types be implicitly converted to ints? Wouldn't it be better if a bool was a bool was a bool was a bool...? The complementary question is also a curiosity: why can an int be converted to a bool? ... MikeP
it sucks to be me ( i don't drive drunk)243 (7/11/2011 9:24:16 AM) comp.lang.c but I only have to not be drunk... well I snuck it in. Is it a federal offense. I don't drink and ddrie. I drink and don't drive. There is nothing else to do. ... MikeP
justice133 (7/10/2011 2:49:41 PM) comp.lang.c I watch and observe, but why is not "the prosecution" now not facing death? ... MikeP
Integer promotions, conversions, coercions and templates :(4841 (6/8/2011 10:09:43 PM) comp.lang.c++ I need help (but nevermind that!) templates and the C++ integer rules are confusing me! (No occifer, I have not been drinking, I am just dazed and confused by C++ integer rules!). // CheckBit // Checks the s... MikeP
Life is a stream?1039 (5/31/2011 3:25:50 AM) comp.lang.c++ Programmers are enamoured with streams of bytes. Is that abstraction (i.e., generality) too rigidly modeled? I say, all IO (I/O?) is not alike, so why model it as if it is. What say you (y'all)? Keywords and... MikeP
No, you are warring038 (5/15/2011 6:48:05 AM) comp.lang.c++ 'property taxes'. Oh war othterland makes it ok? Tax me for your dick.End of fucking story, get your dick out of my face. ... MikeP
Immutable better than const?661 (5/14/2011 4:52:12 PM) comp.lang.c++ Is immutable better than const? I mean "immutable" like in C#. At least one book author opines that it is superior to C++ "const" because const-ness can be cast away. What is your opinion on the matter? ... MikeP
Documenting C++ Code1055 (7/5/2011 1:52:24 PM) comp.lang.c++ I am looking at tools to document C++ code and extract the documentation to a text or html file. So far I have looked at doxygen and autodoc. I would like to know what documentation tools you have had succes... joeh8556(19)
Fast or slow reading computer books?446 (7/5/2011 3:33:55 PM) comp.lang.c++ I am learning computer science and i am confused that is it reasonable to read computer books in a high speed? Or should we read them in a relatively slower speed and digest every word and sentence, which i am ... 81378989(6)
Arithmetic overflow checking274127 (7/6/2011 3:35:01 PM) comp.lang.java.programmer Hi, If I want to have arithmetic-overflow checking in all parts of an application, what is the most practical, simple, efficient way to achieve this? Id like to clutter the code as little a possible... Is ther... rop049(9)
header only C++ code or not?1537 (7/6/2011 9:27:43 PM) comp.lang.c++ I have question about write C++ code. I have seen some developer use head only style (all class definition and implementation in .h file), But others like to seperate the definition and implementation in h / cp... yqin_99(83)
The threading specs in the standard: a new catastrophe6945 (7/7/2011 10:33:48 AM) comp.lang.c The committee has decided, for reasons unknown to me (there is no explanation why is this necessary anywhere) to go on with the flawed Dinkum library specs and proclaim that library as the new standard specs ... jacob31(869)
Deriving from concrete types like std::list1357 (7/7/2011 12:02:44 PM) comp.lang.c++ In the 3rd edition of "The C++ Programming Language", Stroustrup writes in section 25.2 about concrete types "Classes such as vector, list [...] are concrete [...] Also, [...] none are intende... urs(44)
mutable v's non const2335 (7/9/2011 5:15:08 PM) comp.lang.c++ Hi groupies. What is the meaning of the "mutable" word in C++ circles? Mutable apparently means "it can change". So why are the terms "mutable" and "non-mutable" used instead of const and non-const and in wh... pchristor(950)
What's your opinion? "C++ is back..."1158 (7/14/2011 5:51:32 AM) comp.lang.c++ "C++ is Back with a Vengeance" http://www.informit.com/guides/content.aspx?g=cplusplus&seqNum=545 What's your opinion? Regards PS: I'm sorry if you read comp.std.c++ (moderated) for multiposting this messag... chololennon(49)
Implicit convervsion of bool to int: why?1751 (7/16/2011 9:29:14 AM) comp.lang.c++ Why can bool types be implicitly converted to ints? Wouldn't it be better if a bool was a bool was a bool was a bool...? The complementary question is also a curiosity: why can an int be converted to a bool? ... mp011011(304)
Size of bool unspecified: why?7936 (7/16/2011 10:33:22 AM) comp.lang.c++ Why is the size of 'bool' unspecified? That makes bools pretty useless as struct members. If one foregoes bools in structs, why not then specify that bools should be the size of int and thereby likely to be f... mp011011(304)