| 164 | } |
| 165 | |
| 166 | void erase_out( const T2& out ) |
| 167 | { |
| 168 | auto out_itr = this->out2in_mapping().find( out ); |
| 169 | if( out_itr == this->out2in_mapping().end() ) |
| 170 | { |
| 171 | return; |
| 172 | } |
| 173 | this->in2out_mapping().erase( out_itr->second ); |
| 174 | this->out2in_mapping().erase( out_itr ); |
| 175 | } |
| 176 | |
| 177 | [[nodiscard]] index_t size() const |
| 178 | { |