http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57011
Bug #: 57011 Summary: Compiling _GLIBCXX_CONCEPT_CHECKS rejects vector<unique_ptr<foo>> Classification: Unclassified Product: gcc Version: 4.7.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: h.ch...@suremail.info I read about _GLIBCXX_CONCEPT_CHECKS on http://gcc.gnu.org/onlinedocs/libstdc++/manual/ext_compile_checks.html (it mentions that the upcoming C++ standard contains concepts, which did not happen with C++11, so it is probably wrong) and tried to test it with test.cc: #include <memory> #include <vector> int main() { std::vector<std::unique_ptr<int>> F; } Compiled with `g++ -std=c++11 -D_GLIBCXX_CONCEPT_CHECKS test.cc` it fails, though. :-(