[Development] QList
Thiago Macieira
thiago.macieira at intel.com
Wed Mar 22 07:43:04 CET 2017
Em terça-feira, 21 de março de 2017, às 22:49:42 PDT, André Somers escreveu:
> QVector<MyKeyType> keys;
> keys.reserve(theHash.size());
> std::copy(theHash.keyBegin(), theHash.keyEnd(), std::back_inserter(keys));
>
> Sure, it is longer than
> auto keys = theHash.keys();
The whole issue here is the "sure it is longer".
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list