Skip to content

Commit

Permalink
expose equals() in bitvector-strongtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
reneme committed Nov 25, 2024
1 parent e54502e commit 446eb8c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/utils/bitvector.h
Original file line number Diff line number Diff line change
Expand Up @@ -1396,6 +1396,11 @@ class Strong_Adapter<T> : public Container_Strong_Adapter_Base<T> {
return this->get().subvector_replace(pos, value);
}

template <bitvectorish OtherT>
auto equals(const OtherT& other) const {
return this->get().equals(other);
}

auto push_back(bool b) { return this->get().push_back(b); }

auto pop_back() { return this->get().pop_back(); }
Expand Down

0 comments on commit 446eb8c

Please sign in to comment.