[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: passing POD by value with const qualifiers. Silly or not?
From: Thiago Macieira <thiago () kde ! org>
Date: 2008-02-20 8:14:08
Message-ID: 200802200914.09194.thiago () kde ! org
[Download RAW message or body]
Andre Wöbbeking wrote:
>AFAIK it's OK to have parameters without const in the declaration and
> with const in the implementation. Not sure about return values.
That's what I am telling you isn't OK. Some compilers may choke on that.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic