Return true if all the bits in this bitset has the value of 0 and false otherwise. Note that all() and none() are both true for bitsets of size 0.

Synopsis

Declared in <bslstl_bitset.h>

bool
none() const noexcept;

Return Value

true if all bits are 0, and false otherwise

Created with MrDocs