Add ctor from two input iterators to wxArray in STL build too.
This ctor already existed in non-STL build but was omitted from the STL version. Closes #15216. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
268331f0db
commit
41da7d974a
@ -128,6 +128,8 @@ public: \
|
||||
name() : std::vector<T>() { } \
|
||||
name(size_type n) : std::vector<T>(n) { } \
|
||||
name(size_type n, const_reference v) : std::vector<T>(n, v) { } \
|
||||
template <class InputIterator> \
|
||||
name(InputIterator first, InputIterator last) : std::vector<T>(first, last) { } \
|
||||
\
|
||||
void Empty() { clear(); } \
|
||||
void Clear() { clear(); } \
|
||||
|
Loading…
Reference in New Issue
Block a user