Standard library » Containers » Bitset module

std::bitset like container.

It doesn't throw exceptions. Instead, asserts are used to ensure valid usage.

Files

file bn_bitset.h
file bn_bitset_fwd.h

Classes

class bn::ibitset
Base class of bn::bitset.
class bn::bitset_ref
ibitset implementation which manages an external elements array.
template<>
struct bn::hash<ibitset>
Hash support for ibitset.
template<int Size>
class bn::bitset
std::bitset like container.

Functions

auto operator<<(ostringstream& stream, const ibitset& value) -> ostringstream&
Appends the character representation of the given ibitset to the given ostringstream.

Function documentation

ostringstream& operator<<(ostringstream& stream, const ibitset& value)
#include <bn_bitset.h>

Appends the character representation of the given ibitset to the given ostringstream.