Re: [AD] C++ fix class and -Weffc++ compiler flag.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 20 July 2002 05:13, Nicholas Davies wrote:
[snip]
> Therefore, I propose that the above code be
> replaced with the following:
[snip]

A good proposal. Using member initialisation is in fact more efficient
than assigning within the constructor, and it also allows you to create
const objects, so this should definitely be implemented.

Bye for now,
- --
Laurence Withers,  lwithers@xxxxxxxxxx
(GnuPG 04A646EA) http://www.lwithers.demon.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9OZyYUdhclgSmRuoRAvIyAKCOSadveCk6OQVLU8W/57Ek/y7JygCeOMGf
NoSHn3aprvCisjE6hsGrVOA=
=3bmX
-----END PGP SIGNATURE-----



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/