Em segunda-feira, 17 de abril de 2017, às 10:33:06 PDT, Jason H escreveu:
> After some more thought, I think what I need are C++ templates. So let me
> rephrase: Why not QRect<int> and QRect<double>?

We should do that. See André P's email.

> Also I'm still not sure though why there isn't an interface for
> QVector/QList? The main things are operator [], at(), size(), etc.

If by "interface" you mean a base class without virtuals, see 

https://gitlab.com/thiagomacieira/qtbase/blob/master/src/corelib/tools/
qgenericarray.h

That's what this class was supposed to be.

-- 
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