nonstandard API: *this is emptied. Also see "A Standard flat_map" https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0429r9.pdf
| 1411 | // nonstandard API: *this is emptied. |
| 1412 | // Also see "A Standard flat_map" https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0429r9.pdf |
| 1413 | auto extract() && -> value_container_type { |
| 1414 | return std::move(m_values); |
| 1415 | } |
| 1416 | |
| 1417 | // nonstandard API: |
| 1418 | // Discards the internally held container and replaces it with the one passed. Erases non-unique elements. |