boost::dynamic_bitset::is_subset_of

Checks whether *this is a subset of b.

Synopsis

Declared in <boost/dynamic_bitset/dynamic_bitset.hpp>

bool
is_subset_of(dynamic_bitset const& b) const;

Return Value

true if this bitset is a subset of bitset b. That is, it returns true if, for every bit that is set in this bitset, the corresponding bit in bitset b is also set. Otherwise this function returns false.

Parameters

Name Description

b

The bitset to test *this against.

Preconditions

  • this‐>size() == b.size().

Created with MrDocs