Utils: Move variadice template arguments to the end

Move variadic template arguments to the end for all users in algorithm.h.

Change-Id: I7c8f1254e7de6ee9737e73d1a4721e71c188438e
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Tobias Hunger
2017-12-01 15:25:24 +01:00
parent 2c09424c13
commit 769afa9f97

View File

@@ -114,7 +114,7 @@ bool contains(const T &container, R (S::*function)() const)
return anyOf(container, function); return anyOf(container, function);
} }
template<template<typename, typename...> class C, typename... Args, typename T, typename R, typename S> template<template<typename, typename...> class C, typename T, typename R, typename S, typename... Args>
bool contains(const C<T, Args...> &container, R (S::*function)() const) bool contains(const C<T, Args...> &container, R (S::*function)() const)
{ {
return anyOf(container, function); return anyOf(container, function);