Add wxVector::operator==() and !=()

Make this class more consistent with std::vector<>.
This commit is contained in:
Vadim Zeitlin
2017-11-18 16:28:22 +01:00
parent aef4edb969
commit 5669e8dbe9
3 changed files with 50 additions and 0 deletions

View File

@@ -199,6 +199,20 @@ public:
*/
wxVector& operator=(const wxVector& vb);
/**
Equality operator.
@since 3.1.1
*/
wxVector& operator==(const wxVector& vb) const;
/**
Inequality operator.
@since 3.1.1
*/
wxVector& operator!=(const wxVector& vb) const;
/**
Returns item at position @a idx.
*/