| 1395 | std17::is_swappable<U>::value |
| 1396 | ) |
| 1397 | swap( unexpected_type & other ) noexcept ( |
| 1398 | std17::is_nothrow_swappable<U>::value |
| 1399 | ) |
| 1400 | { |
| 1401 | using std::swap; |
| 1402 | swap( m_error, other.m_error ); |
| 1403 | } |
| 1404 | |
| 1405 | // TODO: ??? unexpected_type: in-class friend operator==, != |
| 1406 |
no test coverage detected