https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61143

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The best workaround for now is to reset the container to a good state after
moving from it:

    std::unordered_map<int, int> b = std::move(a);
    a = {};
    a.emplace(1, 1);

Reply via email to