[Development] QString behavior change

Thiago Macieira thiago.macieira at intel.com
Fri Jul 31 10:24:48 CEST 2015


On Friday 31 July 2015 09:53:32 André Somers wrote:
> If nullness can't be relied on to be retained or non-null strings can 
> degrade into being a null string, what's the point of having it at all?

There are corner-cases. Like using QString() to indicate no match found.

When you search for empty in an empty string, do you find it (return empty)? Or 
do you fail to find it (return null)?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list