[Development] Proposal: Deprecating platforms in Qt 5.6 that don't support lambda
André Somers
andre at familiesomers.nl
Fri Feb 20 11:38:21 CET 2015
Olivier Goffart schreef op 20-2-2015 om 11:38:
> On Friday 20 February 2015 11:26:31 Daniel Teske wrote:
> [...]
>> That's one area. The others are too replace trivial interfaces with a low
>> amount of virtual functions by a std::function properties. This can simplify
>> code if e.g. the different implementations don't fit into a nice hierarchy.
> Note that the Qt ABI (in practice, the Qt public API) cannot use std::function
> because we don't use stl types in our ABI.
>
> So we must roll our own (QFunction).
> (or change the policy)
>
We already have, don't we? After all, QObject::connect takes a lambda or
a function-like object...
André
More information about the Development
mailing list