[Development] Use of std::function in Qt API

André Pönitz apoenitz at t-online.de
Tue Apr 25 19:30:50 CEST 2017


On Tue, Apr 25, 2017 at 02:41:19PM -0300, Thiago Macieira wrote:
> On Tuesday, 25 April 2017 13:39:52 -03 Marc Mutz wrote:
> > On 2017-04-25 16:34, Lars Knoll wrote:
> > [...]
> > 
> > > But I agree with Thiago, that we should have this written down in a
> > > QUIP, ideally with a list of the classes we consider ok to use in our
> > > APIs.
> > 
> > [...]
> > 
> > I'd make the QUIP define the updated BC guarantee. The list of std types
> > available for use in Qt APIs should be in QtBase Git, though, to be
> > versioned on a per-branch basis.
> 
> Why does it need to be versioned on a per-branch basis? Because of when we 
> deprecate older compilers, we can update the list?

Since the rules will likely differ per branch I actually think it's
a good idea to have the rules close to the locations to which they
apply.

Changing files with rules with QUIP status should require the same
level of approval as QUIPs themselves, though.

Andre'



More information about the Development mailing list