bitset& operator=(const bitset&) Assignable Assignment operator. template<class Char, class Traits, class Alloc> explicit bitset(const basic_string<Char,Traits,Alloc>& s, size_t pos = 0, size_t n = basic_string <Char,Traits,Alloc>::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.
Добавить отзыв
ВСЕ ОТЗЫВЫ О КНИГЕ В ИЗБРАННОЕ

0

Вы можете отметить интересные вам фрагменты текста, которые будут доступны по уникальной ссылке в адресной строке браузера.

Отметить Добавить цитату