Blitz logo

Blitz Devel :

From: Frank Schimmel (frs_at_[hidden])
Date: 2003-12-04 09:45:11


>> Sureshkumar Devanathan writes:

 [...]
> And derive a class _XRange that will initialize the unsafe variable. And
> export operator Range() that will return a compatiable but extended
> range object .

I haven't really been following this and the following remark it not
at all to the point. But: (and this *is* a capital `But')

In user land you can't name a class (or anything else) `_XRange'. All
identifiers starting with an underscore followed by an upper case
letter (or containing a double underscore) are *reserved* by the C++
standard for system purposes, i.e. they are to be used by compiler and
standard library implementors and no one else. Names in the global
name space starting with just an underscore are also reserved.
See ISO C++ std section 17.4.3.1.2 Global names [lib.global.names].

So don't even think about it.

Cheers
-Frank