[Development] Lack of base classes/interfaces? Q*, Q*F

Jason H jhihn at gmx.com
Tue Apr 18 16:01:45 CEST 2017


This would be great. What happened to it?

> Sent: Monday, April 17, 2017 at 1:40 PM
> From: "Thiago Macieira" <thiago.macieira at intel.com>
> To: development at qt-project.org
> Subject: Re: [Development] Lack of base classes/interfaces? Q*, Q*F
>
> 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
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>



More information about the Development mailing list