ParseComponents.hpp: Add two missing iterator functions
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
97f87e6822
commit
5b04eb37b0
|
@ -62,8 +62,10 @@ public:
|
||||||
inline size_t size() const { return subComponents.size(); }
|
inline size_t size() const { return subComponents.size(); }
|
||||||
inline bool empty() const { return size() == 0; }
|
inline bool empty() const { return size() == 0; }
|
||||||
inline iterator begin() noexcept { return subComponents.begin(); }
|
inline iterator begin() noexcept { return subComponents.begin(); }
|
||||||
|
inline constant_iterator begin() const noexcept { return cbegin(); }
|
||||||
inline constant_iterator cbegin() const noexcept { return subComponents.cbegin(); }
|
inline constant_iterator cbegin() const noexcept { return subComponents.cbegin(); }
|
||||||
inline iterator end() noexcept { return subComponents.end(); }
|
inline iterator end() noexcept { return subComponents.end(); }
|
||||||
|
inline constant_iterator end() const noexcept { return cend(); }
|
||||||
inline constant_iterator cend() const noexcept { return subComponents.cend(); }
|
inline constant_iterator cend() const noexcept { return subComponents.cend(); }
|
||||||
IS_PARSECOMPONENT
|
IS_PARSECOMPONENT
|
||||||
vector<T*> findById() const {
|
vector<T*> findById() const {
|
||||||
|
|
Loading…
Reference in New Issue