home | login | register | DMCA | contacts | help | donate |      

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
А Б В Г Д Е Ж З И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Щ Э Ю Я


my bookshelf | genres | recommend | rating of books | rating of authors | reviews | new | форум | collections | читалки | авторам | add
fantasy
space fantasy
fantasy is horrors
heroic
prose
  military
  child
  russian
detective
  action
  child
  ironical
  historical
  political
western
adventure
adventure (child)
child's stories
love
religion
antique
Scientific literature
biography
business
home pets
animals
art
history
computers
linguistics
mathematics
religion
home_garden
sport
technique
publicism
philosophy
chemistry
close

Loading...


Members

Member Where defined Description
reference bitset A proxy class that acts as a reference to a single bit.
bitset() Default Constructible The default constructor. All bits are initially zero.
bitset(unsigned long val) bitset Conversion from unsigned long.
bitset(const bitset&) Assignable Copy constructor.
bitset& operator=(const bitset&) Assignable Assignment operator.
template explicit bitset(const basic_string& s, size_t pos = 0, size_t n = basic_string ::npos) bitset Conversion from string.
bitset& operator&=(const bitset&) bitset Bitwise and.
bitset& operator|=(const bitset&) bitset Bitwise inclusive or.
bitset& operator^=(const bitset&) bitset Bitwise exclusive or.
bitset& operator<<=(size_t) bitset Left shift.
bitset& operator>>=(size_t) bitset Right shift.
bitset operator<<(size_t n) const bitset Returns a copy of *this shifted left by n bits.
bitset operator>>(size_t n) const bitset Returns a copy of *this shifted right by n bits.
bitset& set() bitset Sets every bit.
bitset& flip() bitset Flips the value of every bit.
bitset operator~() const bitset Returns a copy of *this with all of its bits flipped.
bitset& reset() bitset Clears every bit.
bitset& set(size_t n, int val = 1) bitset Sets bit n if val is nonzero, and clears bit n if val is zero.
bitset& reset(size_t n) bitset Clears bit n.
bitset flip(size_t n) bitset Flips bit n.
size_t size() const bitset Returns N.
size_t count() const bitset Returns the number of bits that are set.
bool any() const bitset Returns true if any bits are set.
bool none() const bitset Returns true if no bits are set.
bool test(size_t n) const bitset Returns true if bit n is set.
reference operator[](size_t n) bitset Returns a reference to bit n.
bool operator[](size_t n) const bitset Returns true if bit n is set.
unsigned long to_ulong() const bitset Returns an unsigned long corresponding to the bits in *this.
template basic_string to_string() const bitset Returns a string representation of *this.
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 basic_istream& operator>>(basic_istream&, bitset&) bitset Extract a bitset from an input stream.
template basic_ostream& operator>>(basic_ostream&, const bitset&) bitset Output a bitset to an output stream.


Type requirements | Standard Template Library Programmer`s Guide | New members







Loading...