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é _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
