bool none() const | bitset | Returns |
bool test(size_t n) const | bitset | Returns |
reference operator[](size_t n) | bitset | Returns a |
bool operator[](size_t n) const | bitset | Returns |
unsigned long to_ulong() const | bitset | Returns an |
template<class Char, class Traits, class Alloc> basic_string <Char,Traits,Alloc> to_string() const | bitset | Returns a string representation of |
bool operator==(const bitset&) const | Equality Comparable | The equality operator. |
bool operator!=(const bitset&) const | Equality Comparable | The inequality operator. |
bitset operator&(const bitset&, const bitset&) | bitset | Bitwise and of two bitsets. This is a global function, not a member function. |
bitset operator|(const bitset&, const bitset&) | bitset | Bitwise or of two bitsets. This is a global function, not a member function. |
bitset operator^(const bitset&, const bitset&) | bitset | Bitwise exclusive or of two bitsets. This is a global function, not a member function. |
template<class Char, class Traits, size_t N> basic_istream<Char,Traits>& operator>>(basic_istream<Char,Traits>&, bitset<N>&) | bitset | Extract a |
template<class Char, class Traits, size_t N> basic_ostream<Char,Traits>& operator>>(basic_ostream<Char,Traits>&, const bitset<N>&) | bitset | Output a |
These members are not defined in the Assignable, Default Constructible, or Equality Comparable requirements, but are specific to
| Member | Description |
|---|---|
reference | A proxy class that acts as a reference to a single bit. It contains an assignment operator, a conversion to |
bitset(unsigned long val) | Conversion from unsigned long. Constructs a bitset, initializing the first |
Вы читаете Standard Template Library Programmer's Guide
