MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / operator!=

Method operator!=

tests/Issue255.cpp:12–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 std::size_t m_pos;
11 bool operator==( const Iterator& other ) { return m_iterable == other.m_iterable && m_pos == other.m_pos; }
12 bool operator!=( const Iterator& other ) { return !( this->operator==( other ) ); }
13 access_type operator*() {
14 Widget tmp = m_iterable->m_storage[m_pos];
15 return std::get<access_type>( tmp );

Callers

nothing calls this directly

Calls 1

operator==Method · 0.95

Tested by

no test coverage detected