http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53067
Bug #: 53067
Summary: c++0x GCC 4.7.0 Regression std::ref with unordered
sets
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
Building the following code with gcc4.7 snapshot 20120421 fails, but passed
with gcc4.6.
$g++ -std=c++11
#include <functional>
#include <unordered_set>
int main(int, char**){
std::unordered_map<int> Foo;
ref(Foo);
}