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

List:       kde-core-devel
Subject:    Re: Initialization of QSharedDataPointer's for empty objects (i.e. Foo::Foo(void))
From:       Sune Vuorela <nospam () vuorela ! dk>
Date:       2013-04-29 20:11:07
Message-ID: slrnkntkv0.j8.nospam () sshway ! ssh ! pusling ! com
[Download RAW message or body]

On 2013-04-29, Milian Wolff <mail@milianw.de> wrote:
> I do wonder though why QString has both, a shared_empty and a shared_null 
> object. A single one should suffice for most objects, no?

I'm pretty sure this is because QString can be empty and not null.

e.g. the difference between QString() the empty string.

/Sune

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

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