boost::operator==

Compares two bitsets.

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

template<
    typename Block,
    typename AllocatorOrContainer>
bool
operator==(
    dynamic_bitset<Block, AllocatorOrContainer> const& a,
    dynamic_bitset<Block, AllocatorOrContainer> const& b);

Throws

Nothing.

(Required by EqualityComparable.)

Return Value

true if a.size() == b.size() and for all i in the range [0, a.size()), a[ i ] == b[ i ]. Otherwise false.

Parameters

Name Description

a

The left operand

b

The right operand

Created with MrDocs