This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Why does this not compile?
- From: Matthijs van Duin <matthijs at cds dot nl>
- To: Florian Weimer <fw at deneb dot enyo dot de>
- Cc: gcc at gcc dot gnu dot org, vharron at soe dot sony dot com, aoliva at redhat dot com
- Date: Mon, 20 May 2002 00:18:43 +0200
- Subject: Re: Why does this not compile?
- References: <1021835697.25496.ezmlm@gcc.gnu.org><v04220802b90dd1bafadf@[194.134.44.75]> <87it5jdbu5.fsf@deneb.enyo.de>
At 00:14 +0200 20-05-2002, Florian Weimer wrote:
>During my C++ days, I've repeatedly read rules of thumb like "const
>creates constant confusion", referring to poisonous aspect of const
>(once you add it somewhere, you have to add it in many places). Maybe
>that feeling carries over to the pass-by-reference-to-constant-object
>case, which is rather unwarranted, of course.
How silly, qualifiers should be added consistently, they exist for a purpose :/
Yes, when added somewhere, they should be everywhere. But they should
already *have been there* in the first place. :)
- xmath
PS sorry for a wrong References-header. I've twiddled things in my
mailer a bit, I'll see if that helps... (it should treat a digest as
a heap of separate mails now, rather than as a single text)
Matthijs van Duin
- PGP Key: 0x2D6F0BA7
- FP: 205D F7BA FFAD 9070 AB9E C5A8 BDB0 CA1B 2D6F 0BA7 -