[Interest] Set manipulation in Qt 6

Thiago Macieira thiago.macieira at intel.com
Wed Jul 1 03:58:16 CEST 2020


On Tuesday, 30 June 2020 18:04:24 PDT d3fault wrote:
> or should we also remove QString::toLower, since one can use std
> facilities to accomplish the same thing like this:
> QString data = "Abc";
> std::transform(data.begin(), data.end(), data.begin(),
>     [](unsigned int c){ return QChar::toLower(c); });

Invalid argument.

Strings are not a set or collection of characters and Unicode transformations 
aren't homogeneously applied to individual code points.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Interest mailing list