From kde-core-devel Mon Apr 29 20:11:07 2013 From: Sune Vuorela Date: Mon, 29 Apr 2013 20:11:07 +0000 To: kde-core-devel Subject: Re: Initialization of QSharedDataPointer's for empty objects (i.e. Foo::Foo(void)) Message-Id: X-MARC-Message: https://marc.info/?l=kde-core-devel&m=136726629817580 On 2013-04-29, Milian Wolff 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