Apache Mesos
Public Member Functions | Static Public Attributes | List of all members
hashset< Elem, Hash, Equal > Class Template Reference

#include <hashset.hpp>

Inheritance diagram for hashset< Elem, Hash, Equal >:

Public Member Functions

 hashset ()
 
 hashset (const std::set< Elem > &set)
 
 hashset (std::set< Elem > &&set)
 
 hashset (std::initializer_list< Elem > list)
 
bool contains (const Elem &elem) const
 
template<typename R , typename T >
bool exists (R(T::*method)(), R r) const
 
template<typename R , typename T >
bool exists (R(T::*member), R r) const
 

Static Public Attributes

static const hashset< Elem, Hash, Equal > & EMPTY
 

Constructor & Destructor Documentation

template<typename Elem, typename Hash = typename std::conditional< std::is_enum<Elem>::value, EnumClassHash, std::hash<Elem>>::type, typename Equal = std::equal_to<Elem>>
hashset< Elem, Hash, Equal >::hashset ( )
inline
template<typename Elem, typename Hash = typename std::conditional< std::is_enum<Elem>::value, EnumClassHash, std::hash<Elem>>::type, typename Equal = std::equal_to<Elem>>
hashset< Elem, Hash, Equal >::hashset ( const std::set< Elem > &  set)
inline
template<typename Elem, typename Hash = typename std::conditional< std::is_enum<Elem>::value, EnumClassHash, std::hash<Elem>>::type, typename Equal = std::equal_to<Elem>>
hashset< Elem, Hash, Equal >::hashset ( std::set< Elem > &&  set)
inline
template<typename Elem, typename Hash = typename std::conditional< std::is_enum<Elem>::value, EnumClassHash, std::hash<Elem>>::type, typename Equal = std::equal_to<Elem>>
hashset< Elem, Hash, Equal >::hashset ( std::initializer_list< Elem >  list)
inline

Member Function Documentation

template<typename Elem, typename Hash = typename std::conditional< std::is_enum<Elem>::value, EnumClassHash, std::hash<Elem>>::type, typename Equal = std::equal_to<Elem>>
bool hashset< Elem, Hash, Equal >::contains ( const Elem &  elem) const
inline
template<typename Elem, typename Hash = typename std::conditional< std::is_enum<Elem>::value, EnumClassHash, std::hash<Elem>>::type, typename Equal = std::equal_to<Elem>>
template<typename R , typename T >
bool hashset< Elem, Hash, Equal >::exists ( R(T::*)()  method,
r 
) const
inline
template<typename Elem, typename Hash = typename std::conditional< std::is_enum<Elem>::value, EnumClassHash, std::hash<Elem>>::type, typename Equal = std::equal_to<Elem>>
template<typename R , typename T >
bool hashset< Elem, Hash, Equal >::exists ( R T::*  member,
r 
) const
inline

Member Data Documentation

template<typename Elem, typename Hash = typename std::conditional< std::is_enum<Elem>::value, EnumClassHash, std::hash<Elem>>::type, typename Equal = std::equal_to<Elem>>
const hashset< Elem, Hash, Equal > & hashset< Elem, Hash, Equal >::EMPTY
static
Initial value:

The documentation for this class was generated from the following file: