http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59389
Paul Pluzhnikov <ppluzhnikov at google dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Paul Pluzhnikov <ppluzhnikov at google dot com> --- Hmm, Clang also rejects this test: t.cc:12:7: error: call to constructor of 'Foo' is ambiguous Foo foo1({{"abc", {"aaa"}}}); // Error. ^ ~~~~~~~~~~~~~~~~~~ t.cc:5:8: note: candidate is the implicit move constructor struct Foo { ^ t.cc:5:8: note: candidate is the implicit copy constructor t.cc:6:3: note: candidate constructor Foo(const std::map<std::string, std::vector<std::string>>&); ^ 1 error generated. I must have over-reduced the original.