blob: 2ca31e50dee1cb2d5e9e5e77f3f58f0428dfccd4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
typename std::enable_if<!std::is_void<T>::value, QVector<T> >::type dummy(const std::function<T*(const S&)>& pFunc, const QVector<S>& pItems)
{
return QVector<T>();
}
typename std::enable_if<!std::is_void<T>::value, QVector<T> >::type filter(const std::function<bool(const T&)>& pFunc, const QVector<T>& pItems)
{
return QVector<T>();
}
|