--- a/src/basics.h Fri Dec 28 00:03:47 2018 +0200 +++ b/src/basics.h Tue Jan 01 22:30:10 2019 +0200 @@ -107,6 +107,12 @@ template<typename... Ts> inline void ignore(Ts&&...) {} +template<typename T, typename R> +QMapIterator<T, R> createIterator(const QMap<T, R>& map) +{ + return {map}; +} + qreal determinant(qreal a, qreal b, qreal c, qreal d); qreal determinant(qreal a, qreal b, qreal c, qreal d, qreal e, qreal f, qreal g, qreal h, qreal i); qreal determinant(const QMatrix2x2& matrix);