#include <boost/bit_logic/bit_vector.hpp> size_type capacity ( ) const ;
The capacity() function returns the available capacity the bit_vector can hold without reallocating.