On Thursday, September 01, 2011 20:33:05 Andrei Alexandrescu wrote:
> On 09/01/2011 06:45 PM, Jonathan M Davis wrote:
> > On Thursday, September 01, 2011 16:26 Marco Leise wrote:
> >> C++ has an easy position because it handles structs almost like
> >> classes.
> >> The only difference I notice is that everything is public by default
> >> in a struct.
> > 
> > That _is_ the only difference between structs and classes in C++.
> > 
> > - Jonathan M Davis
> 
> Default inheritance protection is different, too.

Well, that would arguably be part of "everything is public by default," but 
it's a good point.

- Jonathan M Davis

Reply via email to