Skip to content

Commit

Permalink
add resize with default filler value
Browse files Browse the repository at this point in the history
  • Loading branch information
fredroy committed Jan 20, 2025
1 parent 84e79d1 commit f16c5c0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class WriteAccessorVector
////// Modifiers //////
void clear() { vref->clear(); }
void resize(Size s) { vref->resize(s); }
void resize(Size s, const value_type& value) { vref->resize(s, value); }

iterator insert(const_iterator pos, const T& value) { return vref->insert(pos, value); }
iterator erase(iterator pos) { return vref->erase(pos); }
Expand Down

0 comments on commit f16c5c0

Please sign in to comment.