/** Two vectors are equal if they contain the same indices. */
bool operator==(const sorted_boolean_vector<IT> &vec) const {
return get_ones() == vec.get_ones();
/** Two vectors are equal if they contain the same indices. */
bool operator==(const sorted_boolean_vector<IT> &vec) const {
return get_ones() == vec.get_ones();
/** Two vectors are equal if they contain the same indices. */
bool operator==(const heapsorted_boolean_vector<IT> &vec) const {
return get_ones() == vec.get_ones();
/** Two vectors are equal if they contain the same indices. */
bool operator==(const heapsorted_boolean_vector<IT> &vec) const {
return get_ones() == vec.get_ones();