passing POD by value with const qualifiers. Silly or not?
Thiago Macieira
thiago at kde.org
Wed Feb 20 08:14:08 GMT 2008
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080220/739073d1/attachment.sig>
More information about the kde-core-devel
mailing list