On quinta-feira, 27 de outubro de 2016 08:23:57 PDT Marc Mutz wrote: > And, again, by proprietarily extending a perfectly adequate std > functionality, we lock ourselves deeper into our NIHS, losing new > functionality provided by newer std versions, in this case: variadic > std::min/max.
Hm... you're actually right. We should use std::min and std::max since we can now rely on them existing and being properly implemented. I don't know a Standard Library equivalent of qBound, but I wasn't fixing that one due to too many permutations. We should drop qMin and qMax like we have the QtAlgorithms header. I trust you checked VS 2013 and Dinkumware. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development