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

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to