Add wxVector::insert() overload taking count of items to insert

Generalize the existing insert() to be more compatible with std::vector.
This commit is contained in:
Vadim Zeitlin
2017-11-18 16:36:41 +01:00
parent 25a7c70631
commit 8246c922af
3 changed files with 31 additions and 6 deletions

View File

@@ -194,6 +194,15 @@ public:
*/
iterator insert(iterator it, const value_type& v = value_type());
/**
Insert the given number of copies of @a v at the given position.
@return Iterator for the first inserted item.
@since 3.1.1
*/
iterator insert(iterator it, size_type count, const value_type& v);
/**
Assignment operator.
*/