https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61143
--- Comment #9 from Felix Fontein ---
Another workaround is to use reserve(), as in:
std::unordered_map b = std::move(a);
a.reserve(1); // any number > 0 will do
a.emplace(1, 1);
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766
--- Comment #4 from Felix Fontein ---
I can confirm this bug for GCC 4.9.0 20140604 (prerelease).
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: felix at fontein dot de
The following code does not compile under GCC 4.9.0 20140604 (prerelease):
-8<-8<-8<-
template struct X { };
template
v