M
Mike Wahler
KPB said:Someone wondered if using the -Wall switch in gcc would generate a
warning. I told him no after trying it out. I knew it would'nt but there
was no harm in making sure.
That question and answer are not topical for comp.lang.c++.
Still don't think so? Ok, whatever.
Perhaps I did. But the context of clc++ here is C++, not gcc
or any other particular implementation.
I read other people's code all the time.
All the more reason to know at least most of the language rules.
I have Stroustrup's book if I need to deal with anything like this.
Yes, a reference book is often needed, but I find it faster to
peruse code if I already have a good grasp of the rules, and
only go to the books for 'arcana'.
This
is just one thing that isn't important for me to remember because:
1. I don't see it enough in code to have to
See what? Definitions of objects?
2. Like I said.. I have reference materials if I do.
I have many reference materials too (including ISO 14882).
But sure, use whatever works for you. I find that a good
grasp of the rules makes the work go much more quickly.
-Mike