BobR wrote:
Brian Arnold wrote in message
<[EMAIL PROTECTED]>...

You're absolutely right. I can't believe I missed that. I had

size_t Object::_sharkcount = 0;

but no equivalent version for _supersharkcount. That fixed it! Thank
you so much!



[ from a FAQ ]
"Avoid a name that will begin with an underscore, as most of those names are
reserved for compiler vendors."

Are you a 'compiler vendor'? <G>

More accurately, names begining with /two/ underscores, or an underscore followed by a capital are reserved for the vendor by the standard, ie:
__special_vendor_name,
_Special_vendor_name2.
Just an underscore is generally fine, especially uglifing variables for class initialisation:

        class X {
                int y;
        public:
                X(int _y) : y(_y) {}
        };



_______________________________________________
Help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to