I have this classic question about how C ++ Standard should (I mean the actual official document is finalized), for example. C ++ 98, C ++ 03 can be used for training and learning C ++. My idea is only from the point of view of the average C ++ user, and not from the point of view of language lawyers or those who want to be on the standards committee, compilers, etc.
Here are my personal thoughts:
a) This is a good place to start learning C ++. Books such as "C ++ in a Nutshell", "C ++ Programming Language", etc., work very well on this front, while at the same time closely touching the standard.
b) It is necessary to return to the standard only when
the compiler gives behavior that does not match what general books say, or
certain behavior is inconsistent for compilers, for example. GCC, VS, Comeau, etc. I understand that these compilers can be inconsistent in very few cases / dark corners of the language, for example. handling patterns / exceptions, etc. However, it is really known about the possible behavior of different compilers only when one of them transfers and / or migrates to another environment or when there is a compiler update, for example.
if the concept is poorly explained / not explained in books, for example. if it’s a truly advanced concept.
Any thoughts / ideas / recommendations on this?
source
share