> From: Jason Dawes [mailto:[EMAIL PROTECTED]]
> >    struct ObjectStream
> >    {
> >    };
> ObjectStream is not a class, it's a structure - you don't 
> need to provide the namespace, it's in the global one.

Actually it _is_ a class in this example.  Remember that 'struct' and
'class' are really the exact same thing except for the default protection
mode of members declare before an explicit protection keyword.  I just use
'struct' to avoid needing 'public:' as the first line in the declaration.
(Certainly _not_ because I want to start a religious war in the Palm forum!)
Guess I wasn't as influenced by Simula 67 as Bjarne was.  :-)

-slj-


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to