| 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 | { |