|
template<typename T1 , typename T2 , template< typename U > class Container, typename F > |
auto | LeechCraft::Util::ZipWith (const Container< T1 > &c1, const Container< T2 > &c2, F f) -> Container< typename std::result_of< F(T1, T2)>::type > |
|
template<typename T1 , typename T2 , template< typename U > class Container, template< typename U1, typename U2 > class Pair = QPair> |
auto | LeechCraft::Util::Zip (const Container< T1 > &c1, const Container< T2 > &c2) -> Container< Pair< T1, T2 >> |
|
template<typename Res , typename T > |
void | LeechCraft::Util::detail::Append (Res &result, T &&val, decltype(result.push_back(std::forward< T >(val)))*=nullptr) |
|
template<typename Res , typename T > |
void | LeechCraft::Util::detail::Append (Res &result, T &&val, decltype(result.insert(std::forward< T >(val)))*=nullptr) |
|
template<typename T , typename F > |
constexpr bool | LeechCraft::Util::detail::IsInvokableWithConstImpl (typename std::result_of< F(const T &)>::type *) |
|
template<typename T , typename F > |
constexpr bool | LeechCraft::Util::detail::IsInvokableWithConstImpl (...) |
|
template<typename T , typename F > |
constexpr bool | LeechCraft::Util::detail::IsInvokableWithConst () |
|
template<typename T , template< typename U > class Container, typename F > |
auto | LeechCraft::Util::Map (const Container< T > &c, F f) -> typename std::enable_if<!std::is_same< void, decltype(Invoke(f, std::declval< T >()))>::value, WrapType_t< Container< typename std::decay< decltype(Invoke(f, std::declval< T >()))>::type >>>::type |
|
template<template< typename...> class Container, typename F , template< typename > class ResultCont = QList, typename... ContArgs> |
auto | LeechCraft::Util::Map (const Container< ContArgs...> &c, F f) -> typename std::enable_if<!std::is_same< void, decltype(Invoke(f,*c.begin()))>::value, WrapType_t< ResultCont< typename std::decay< decltype(Invoke(f,*c.begin()))>::type >>>::type |
|
template<template< typename...> class Container, typename F , typename... ContArgs> |
auto | LeechCraft::Util::Map (Container< ContArgs...> &c, F f) -> typename std::enable_if< std::is_same< void, decltype(Invoke(f,*c.begin()))>::value >::type |
|
template<template< typename...> class Container, typename F , typename... ContArgs> |
auto | LeechCraft::Util::Map (const Container< ContArgs...> &c, F f) -> typename std::enable_if< std::is_same< void, decltype(Invoke(f,*c.begin()))>::value >::type |
|
template<typename F > |
QList< typename std::decay
< typename std::result_of< F(QString)>
::type >::type > | LeechCraft::Util::Map (const QStringList &c, F f) |
|
template<typename T , template< typename U > class Container, typename F > |
auto | LeechCraft::Util::Filter (const Container< T > &c, F f) -> Container< T > |
|
template<template< typename > class Container, typename T > |
Container< T > | LeechCraft::Util::Concat (const Container< Container< T >> &containers) |
|
template<template< typename...> class Container, typename... ContArgs> |
auto | LeechCraft::Util::Concat (const Container< ContArgs...> &containers) -> typename std::decay< decltype(*containers.begin())>::type |
|
template<template< typename > class Container, typename T > |
Container< Container< T > > | LeechCraft::Util::SplitInto (size_t numChunks, const Container< T > &container) |
|
template<template< typename Pair, typename...Rest > class Cont, template< typename K, typename V > class Pair, typename K , typename V , typename KV , typename... Rest> |
boost::optional< V > | LeechCraft::Util::Lookup (const KV &key, const Cont< Pair< K, V >, Rest...> &cont) |
|
template<typename R > |
detail::ComparingByClosure< R > | LeechCraft::Util::ComparingBy (R r) |
|