HelenOS sources
bitset 47 uspace/lib/cpp/include/__bits/adt/bitset.hpp friend class bitset;
bitset 88 uspace/lib/cpp/include/__bits/adt/bitset.hpp using data_type = typename bitset::data_type;
bitset 94 uspace/lib/cpp/include/__bits/adt/bitset.hpp : data_{data}, mask_{bitset::one_ << idx}
bitset 143 uspace/lib/cpp/include/__bits/adt/bitset.hpp : bitset{
bitset 153 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N>& operator&=(const bitset<N>& rhs) noexcept
bitset 161 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N>& operator|=(const bitset<N>& rhs) noexcept
bitset 169 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N>& operator^=(const bitset<N>& rhs) noexcept
bitset 177 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N>& operator<<=(size_t pos) noexcept
bitset 190 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N>& operator>>=(size_t pos) noexcept
bitset 203 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N>& set() noexcept
bitset 211 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N>& set(size_t pos, bool val = true)
bitset 219 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N>& reset() noexcept
bitset 227 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N>& reset(size_t pos)
bitset 234 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N> operator~() const noexcept
bitset 236 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N> res{*this};
bitset 241 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N>& flip() noexcept
bitset 249 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N>& flip(size_t pos)
bitset 319 uspace/lib/cpp/include/__bits/adt/bitset.hpp bool operator==(const bitset<N>& rhs) const noexcept
bitset 330 uspace/lib/cpp/include/__bits/adt/bitset.hpp bool operator!=(const bitset<N>& rhs) const noexcept
bitset 356 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N> operator<<(size_t pos) const noexcept
bitset 358 uspace/lib/cpp/include/__bits/adt/bitset.hpp return bitset<N>{*this} <<= pos;
bitset 361 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N> operator>>(size_t pos) const noexcept
bitset 363 uspace/lib/cpp/include/__bits/adt/bitset.hpp return bitset<N>{*this} >>= pos;
bitset 431 uspace/lib/cpp/include/__bits/adt/bitset.hpp struct hash<bitset<N>>
bitset 433 uspace/lib/cpp/include/__bits/adt/bitset.hpp size_t operator()(const bitset<N>& set) const noexcept
bitset 438 uspace/lib/cpp/include/__bits/adt/bitset.hpp using argument_type = bitset<N>;
bitset 447 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N> operator&(const bitset<N>& lhs, const bitset<N>& rhs) noexcept
bitset 449 uspace/lib/cpp/include/__bits/adt/bitset.hpp return bitset<N>{lhs} &= rhs;
bitset 453 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N> operator|(const bitset<N>& lhs, const bitset<N>& rhs) noexcept
bitset 455 uspace/lib/cpp/include/__bits/adt/bitset.hpp return bitset<N>{lhs} |= rhs;
bitset 459 uspace/lib/cpp/include/__bits/adt/bitset.hpp bitset<N> operator^(const bitset<N>& lhs, const bitset<N>& rhs) noexcept
bitset 461 uspace/lib/cpp/include/__bits/adt/bitset.hpp return bitset<N>{lhs} ^= rhs;
bitset 466 uspace/lib/cpp/include/__bits/adt/bitset.hpp operator>>(basic_istream<Char, Traits>& is, bitset<N>& set)
bitset 494 uspace/lib/cpp/include/__bits/adt/bitset.hpp set = bitset<N>{str};
bitset 501 uspace/lib/cpp/include/__bits/adt/bitset.hpp operator<<(basic_ostream<Char, Traits>& os, const bitset<N>& set)
bitset 58 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<8> b1{42};
bitset 73 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<8> b2{"00101010"};
bitset 88 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<16> b3{0b1111'1101'1011'1010};
bitset 94 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<64> b4{0xABCD'DCBA'DEAD'BEEFULL};
bitset 100 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<8> b5{"XXYXYXYX", 8U, 'X', 'Y'};
bitset 106 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<8> b6{"XXYXYXYXXXX IGNORED", 8U, 'X', 'Y'};
bitset 112 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<8> b7{std::string{"XXXXYXYXYX"}, 2U, 8U, 'X', 'Y'};
bitset 121 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<8> b1{42};
bitset 135 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<8> b2{};
bitset 154 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<8> b1{};
bitset 188 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<8> b2{0b0101'0101};
bitset 189 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<8> b3{0b1010'1010};
bitset 193 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<8> b4{0b0011'0101};
bitset 194 uspace/lib/cpp/src/__bits/test/bitset.cpp std::bitset<8> b5{0b1010'1100};
bitset 195 uspace/lib/cpp/src/__bits/test/bitset.cpp test_eq("and", (b4 & b5), std::bitset<8>{0b0010'0100});
bitset 196 uspace/lib/cpp/src/__bits/test/bitset.cpp test_eq("or", (b4 | b5), std::bitset<8>{0b1011'1101});
HelenOS homepage, sources at GitHub