[Bug libstdc++/55043] [4.7/4.8 Regression] issue with nesting unordered_map containing unique_ptr into vector

daniel.kruegler at googlemail dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 24 18:12:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55043

--- Comment #18 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2012-10-24 18:12:25 UTC ---
(In reply to comment #17)
> Looking at the concrete problem here I think the only thing that is needed 
> is a conditional noexcept for all containers move constructors (which is
> presumably a border-case for the allowed extensions but to me an acceptable
> one. I tend to suggest to open an LWG issue for this)

For allocator-aware containers, it really should be unconditionally noexcept.
Could someone explain why allocations are needed within the move-constructor of
such containers?



More information about the Gcc-bugs mailing list