liblcf
flag_set.h File Reference
#include <bitset>
+ Include dependency graph for flag_set.h:

Go to the source code of this file.

Classes

class  FlagSet< E, N >
 
struct  std::hash< FlagSet< E, N > >
 

Functions

template<typename E , size_t N>
bool operator== (const FlagSet< E, N > &l, const FlagSet< E, N > &r)
 
template<typename E , size_t N>
bool operator!= (const FlagSet< E, N > &l, const FlagSet< E, N > &r)
 
template<typename E , size_t N>
FlagSet< E, N > operator& (const FlagSet< E, N > &l, const FlagSet< E, N > &r)
 
template<typename E , size_t N>
FlagSet< E, N > operator| (const FlagSet< E, N > &l, const FlagSet< E, N > &r)
 
template<typename E , size_t N>
FlagSet< E, N > operator^ (const FlagSet< E, N > &l, const FlagSet< E, N > &r)
 

Function Documentation

◆ operator!=()

template<typename E , size_t N>
bool operator!= ( const FlagSet< E, N > &  l,
const FlagSet< E, N > &  r 
)
inline

Definition at line 52 of file flag_set.h.

◆ operator&()

template<typename E , size_t N>
FlagSet<E,N> operator& ( const FlagSet< E, N > &  l,
const FlagSet< E, N > &  r 
)
inline

Definition at line 57 of file flag_set.h.

◆ operator==()

template<typename E , size_t N>
bool operator== ( const FlagSet< E, N > &  l,
const FlagSet< E, N > &  r 
)
inline

Definition at line 47 of file flag_set.h.

References FlagSet< E, N >::_bits.

◆ operator^()

template<typename E , size_t N>
FlagSet<E,N> operator^ ( const FlagSet< E, N > &  l,
const FlagSet< E, N > &  r 
)
inline

Definition at line 71 of file flag_set.h.

◆ operator|()

template<typename E , size_t N>
FlagSet<E,N> operator| ( const FlagSet< E, N > &  l,
const FlagSet< E, N > &  r 
)
inline

Definition at line 64 of file flag_set.h.