Add C++11-style cbegin, cend, etc. to wxString's iterator interface
These c-prefixed functions always return a const_iterator. The full list of functions added: cbegin(), cend(), crbegin(), crend(). Closes https://github.com/wxWidgets/wxWidgets/pull/314
This commit is contained in:
committed by
Vadim Zeitlin
parent
e68bd5a319
commit
394ce5f631
@@ -1574,13 +1574,17 @@ public:
|
||||
|
||||
const_iterator begin() const;
|
||||
iterator begin();
|
||||
const_iterator cbegin() const;
|
||||
const_iterator end() const;
|
||||
iterator end();
|
||||
const_iterator cend() const;
|
||||
|
||||
const_reverse_iterator rbegin() const;
|
||||
reverse_iterator rbegin();
|
||||
const_reverse_iterator crbegin() const;
|
||||
const_reverse_iterator rend() const;
|
||||
reverse_iterator rend();
|
||||
const_reverse_iterator crend() const;
|
||||
|
||||
//@}
|
||||
|
||||
|
Reference in New Issue
Block a user