spot 2.14.5
Loading...
Searching...
No Matches
spot::bitset< N > Class Template Reference
Inheritance diagram for spot::bitset< N >:
Collaboration diagram for spot::bitset< N >:

Public Member Functions

 operator bool () const
size_t hash () const
bool operator== (const bitset &other) const
bool operator!= (const bitset &other) const
bool operator< (const bitset &other) const
bool operator<= (const bitset &other) const
bool operator> (const bitset &other) const
bool operator>= (const bitset &other) const
void set (unsigned s)
void clear (unsigned s)
bitset operator<< (unsigned s) const
bitset operator>> (unsigned s) const
bitset & operator<<= (unsigned s)
bitset & operator>>= (unsigned s)
bitset operator~ () const
bitset operator& (const bitset &other) const
bitset operator| (const bitset &other) const
bitset operator^ (const bitset &other) const
bitset & operator&= (const bitset &other)
bitset & operator|= (const bitset &other)
bitset & operator^= (const bitset &other)
bitset operator- (word_t s) const
bitset & operator-= (word_t s)
bitset operator- () const
unsigned count () const
unsigned highest () const
unsigned lowest () const

Static Public Member Functions

static constexpr bitset zero ()
 the 0
static constexpr bitset one ()
 the 1
static bitset mone ()
 the -1 (all bits are set to 1)

Member Function Documentation

◆ mone()

template<size_t N>
bitset spot::bitset< N >::mone ( )
inlinestatic

the -1 (all bits are set to 1)

◆ one()

template<size_t N>
constexpr bitset spot::bitset< N >::one ( )
inlinestaticconstexpr

the 1

◆ zero()

template<size_t N>
constexpr bitset spot::bitset< N >::zero ( )
inlinestaticconstexpr

the 0


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

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on for spot by doxygen 1.15.0