http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60584
Bug ID: 60584 Summary: std::vector::emplace_back(...) use move constructor Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ruslan at mullakh dot com Created attachment 32390 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32390&action=edit sample code the attached peace of code does not compile. complains on deleted move constructor. clang compile this sample, and as far as I understand standard it is valid c++11. build cmd: g++-4.8 -std=c++11 /tmp/test.cpp