[Development] User-defined literals for QString (and QByteArray)
giuseppe.dangelo at kdab.com
Fri Mar 5 13:23:04 CET 2021
Il 05/03/21 12:08, Tor Arne Vestbø ha scritto:
> This seems like a bug though? From an API point of view, I’d expect this
> simple assignment to JustWorkTM, without requiring syntactic sugar all
> over the place. Shouldn’t we fix this, so we don’t need (or leave
> optional) an explicit _qs suffix?
f(u"foobar"); // ambiguous
combined with the overarching plan of adding QStringView overloads when
possible (that is, in functions where historically we weren't doing so)
and never breaking BC/SC.
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4329 bytes
Desc: Firma crittografica S/MIME
More information about the Development