MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / operator==

Method operator==

include/geode/basic/small_set.hpp:102–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 }
101
102 auto operator==( const SmallSet& other ) const
103 {
104 if( size() != other.size() )
105 {
106 return false;
107 }
108 for( const auto& i : container_ )
109 {
110 if( !other.contains( i ) )
111 {
112 return false;
113 }
114 }
115 return true;
116 }
117
118 auto operator!=( const SmallSet& other ) const
119 {

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected