[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] /srv/bzr/gnash/trunk r11960: struct -> class reconstr

From: Benjamin Wolsey
Subject: Re: [Gnash-commit] /srv/bzr/gnash/trunk r11960: struct -> class reconstruction
Date: Wed, 24 Feb 2010 11:09:34 +0100

> Bwy, I agree with Markus about 'uniformity'.

Okay, if we want to add this to the coding guidelines it's fine by me. I
suggest using struct for classes with non-static public data members,
and class for classes without non non-static public data members.

This is because there's a functional difference in between classes where
you can set the data members directly and those where they are only
internally accessible.

The struct that Markus changed would then indeed be a class, because it
has no public data members at all.

> I don't think it's a big deal to have classes with all public members.

Neither do I, but that wasn't really the point.

The current release of Gnash is 0.8.7

Benjamin Wolsey, Software Developer -
C++ and Open-Source Flash blog -


Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]