bool operator!=(const iterator&) const;
private:
- explicit iterator(ResourceAttributes&);
explicit iterator(base_iterator&&);
private:
bool operator!=(const const_iterator&) const;
private:
- explicit const_iterator(const ResourceAttributes&);
explicit const_iterator(base_iterator&&);
private:
{
}
-ResourceAttributes::iterator::iterator(ResourceAttributes& attrs) :
- iterator{ attrs.m_keyValues.begin() }
-{
-}
-
ResourceAttributes::iterator::iterator(base_iterator&& iter) :
m_cur{ std::move(iter) },
m_keyValuePair{ this }
{
}
-ResourceAttributes::const_iterator::const_iterator(const ResourceAttributes& attrs) :
- const_iterator{ attrs.m_keyValues.begin() }
-{
-}
-
ResourceAttributes::const_iterator::const_iterator(base_iterator&& iter) :
m_cur{ iter }, m_keyValuePair{ this }
{
auto ResourceAttributes::begin() -> iterator
{
- return iterator{ *this };
+ return iterator{ m_keyValues.begin() };
}
auto ResourceAttributes::end() -> iterator