forked from qt-creator/qt-creator
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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user