added array(size_t count) ctor initializing the array with count items with default value for compatibility with STL version

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-11-10 00:53:47 +00:00
parent c29bdd5ffe
commit 5041b46fed

View File

@@ -438,6 +438,7 @@ public: \
bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; }\ bool operator !=(const itor& it) const { return m_ptr != it.m_ptr; }\
}; \ }; \
\ \
name(size_type n) { assign(n, value_type()); } \
name(size_type n, const_reference v) { assign(n, v); } \ name(size_type n, const_reference v) { assign(n, v); } \
name(const_iterator first, const_iterator last) \ name(const_iterator first, const_iterator last) \
{ assign(first, last); } \ { assign(first, last); } \