qBittorrent
|
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | Algorithm::HasMappedType< T, typename > |
struct | Algorithm::HasMappedType< T, std::void_t< typename T::mapped_type > > |
Namespaces | |
Algorithm | |
Functions | |
template<typename T , typename BinaryPredicate , typename std::enable_if_t< HasMappedType< T >::value, int > = 0> | |
void | Algorithm::removeIf (T &dict, BinaryPredicate &&p) |
template<typename T , typename UnaryPredicate , typename std::enable_if_t<!HasMappedType< T >::value, int > = 0> | |
void | Algorithm::removeIf (T &set, UnaryPredicate &&p) |