Skip to content

Commit

Permalink
nvec::meta_bucket: add value_type = iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Sep 23, 2024
1 parent 3241913 commit 2b0dfdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/cista/containers/nvec.h
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ struct meta_bucket {
Depth == 1U, const_bucket<DataVec, IndexVec, SizeType>,
const_meta_bucket<Depth - 1U, DataVec, IndexVec, SizeType>>;

using value_type = iterator;
using iterator_category = std::random_access_iterator_tag;
using reference = meta_bucket;
using const_reference = const_meta_bucket<Depth, DataVec, IndexVec, SizeType>;
Expand Down

0 comments on commit 2b0dfdc

Please sign in to comment.