[Development] Compile errors, Qt configured with -qreal float

Thiago Macieira thiago.macieira at intel.com
Thu Oct 27 17:25:34 CEST 2016


On quinta-feira, 27 de outubro de 2016 09:50:00 PDT Marc Mutz wrote:
> (for equivalent elements, min() should returnt
> the one max() does not, which IIRC qMin()/qMax() do, but, notably,
> std::min/max do not, unless they changed it in C++14+).

If they're equal, they're equal. Making a distinction between which one it 
returns if they're equal implies the type was badly designed in the first 
place...

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list