X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ff86a86a7f3f5778e3358758c087b8c3507bdc7..d3fa4bc22e84e3ca4d88cc1772f2d414140a1017:/interface/wx/vector.h?ds=inline diff --git a/interface/wx/vector.h b/interface/wx/vector.h index de47ae0372..93af592cbe 100644 --- a/interface/wx/vector.h +++ b/interface/wx/vector.h @@ -51,6 +51,19 @@ public: */ wxVector(size_type size, const value_type& value); + /** + Constructor initializing the vector with the elements in the given + range. + + The @a InputIterator template parameter must be an input iterator type. + This constructor adds all elements from @a first until, not not + including, @a last to the vector. + + @since 2.9.5 + */ + template + wxVector(InputIterator first, InputIterator last); + /** Copy constructor. */ @@ -70,6 +83,18 @@ public: */ void assign(size_type n, const value_type& v); + /** + Assigns the elements in the given range to the vector. + + The @a InputIterator template parameter must be an input iterator type. + This method clears the vector and then adds all elements from @a first + until, not not including, @a last to it. + + @since 2.9.5 + */ + template + void assign(InputIterator first, InputIterator last); + /** Returns item at position @a idx. */ @@ -112,7 +137,7 @@ public: /** - Returns vector's current capacity, i.e. how much memory is allocated. + Returns vector's current capacity, i.e.\ how much memory is allocated. @see reserve() */