| 197 | GenericMapping& operator=( GenericMapping&& ) noexcept = default; |
| 198 | |
| 199 | void map( const T1& in, const T2& out ) |
| 200 | { |
| 201 | if( this->has_mapping_input( in ) ) |
| 202 | { |
| 203 | if( absl::c_contains( this->in2out( in ), out ) ) |
| 204 | { |
| 205 | return; |
| 206 | } |
| 207 | } |
| 208 | this->in2out_mapping()[in].push_back( out ); |
| 209 | this->out2in_mapping()[out].push_back( in ); |
| 210 | } |
| 211 | |
| 212 | void unmap( const T1& in, const T2& out ) |
| 213 | { |