blob: 21fe1c445d033badea73a269bc8dfb643e51b77b (
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>();
}
|