[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [Kde-pim] error compiling kdepim4
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-11-24 11:56:22
Message-ID: 200611241256.31878.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Volker Krause wrote:
>Ah, I didn't know that.
>This basically makes foreach useless for iterating over function
> arguments (which are usually const references). Interessting that we
> didn't hit this earlier already...

All it takes is to declare a variable. Since the containers are implicitly 
shared, the result will be one extra atomic increment and a decrement as 
penalty.
-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic