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

--- Comment #9 from Felix Fontein <felix at fontein dot de> ---
Another workaround is to use reserve(), as in:

    std::unordered_map<int, int> b = std::move(a);
    a.reserve(1); // any number > 0 will do
    a.emplace(1, 1);

Reply via email to