John David Duncan wrote:
For reasons that I don't quite understand, I still use structs for
little things without methods; if nothing else, it saves the "public:"
line.  Maybe we should all give up on structs...

Heh, yeah. :)  AFAIK, other than scope protection, there's not much
difference between a class and a struct from the point of view of the
compiler's generated code...

According to Mr. Stroustrup there is *no* difference.



Default access for class is private; default access for struct is public. Otherwise, no difference.

--
Jim Starkey
President, NimbusDB, Inc.
978 526-1376


_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to