added wxVector::resize()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-12-11 13:45:04 +00:00
parent de150f6af9
commit e068310a5a
3 changed files with 73 additions and 3 deletions

View File

@@ -120,7 +120,7 @@ public:
Return reverse iterator to end of the vector.
*/
reverse_iterator rbegin();
/**
Return reverse iterator to beginning of the vector.
*/
@@ -218,6 +218,19 @@ public:
*/
void reserve(size_type n);
/**
Makes the vector of size @a n.
If @a n is less than the current size(), the elements at the end of the
vector are erased. If it is greater, then the vector is completed with
either the copies of the given object @a v or @c value_type() objects
until it becomes of size @a n.
*/
//@{
void resize(size_type n);
void resize(size_type n, const value_type& v);
//@}
/**
Returns the size of the vector.
*/