https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63329
--- Comment #1 from Thomas Sanchez <thomas.sanchz at gmail dot com> --- BTW, I forgot to add that the compiler is invoked with this command: g++ -std=c++11 test.cpp Also, funny thing, with clang, it is the first one that do not compile :) Thanks,