id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 6167,Assignment from a temporary of a class containing boost::unordered_map members fails with GNU GCC.,Geurt Vos ,Ion Gaztañaga,"With boost 1.48.0 the following code does not compile anymore: ---- #include struct A { boost::unordered_map m; }; void Test() { A a;[[BR]] a = A(); } ---- GCC 4.6.1 & GCC 4.1.2 say: 11:8: error: no match for ‘operator=’ in ‘a = A()’[[BR]] 11:8: note: candidate is:[[BR]] 4:8: note: A& A::operator=(A&)[[BR]] 4:8: note: no known conversion for argument 1 from ‘A’ to ‘A&’[[BR]] When GCC 4.6.1 is set as C++11 compiler (-std=c++0x), it compiles without errors. ",Bugs,closed,To Be Determined,unordered,Boost 1.48.0,Problem,wontfix,,