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

List:       kde-devel
Subject:    Re: QStringList problem
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-11-17 23:20:07
Message-ID: 200611180020.07710.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Christian Schaarschmidt wrote:
>has that changed in QT4? With QT3 I get

No. All iterators are invalidated when the container is modified, both in 
Qt3 and Qt4 (both pointer- and value-based).

The fact that it worked before was just luck. You were relying on 
undefined behaviour.

>
>kmail: iter before insert=item
>kmail: iter after insert=item
>kmail: iter at the end

-- 
  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