On 08.05.2012 22:01, Eli Friedman wrote: > On Tue, May 8, 2012 at 9:47 AM, Dmitri Shubin<sbn at tbricks.com> wrote: >> ... >> Both g++ 4.7 and Sun C++ 5.11 compile it without errors. >> Is it clang bug or other compilers are more liberal. > Definitely a bug. > http://llvm.org/bugs/show_bug.cgi?id=12770