Hi all.
After looking at the following code, something else immediately came up in
my mind.
class ccList {
public: // constructors
ccList();
~ccList() {}
public: // methods to cast by subclass
void __pushTail(void* data);
void __pushHead(void* data);
Of course, in your own class definitions, you are free to use whichever
legal way you want when choosing identifier names. However, IIRC the
standards for C++ include the info that identifiers starting with one or
more underscores are usually reserved for the implementor of the standard
libraries. I'm not saying you always will, but there *is* a non-zero chance
any identifiers starting with underscores will clash with variables used by
your compiler vendor. So, IMO, it's best just not to use 'em. I've seen
books on C and C++ use identifiers starting with underscores, but it's still
a bad idea.
Martin
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/