http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51501
--- Comment #1 from Dave Abrahams <dave at boostpro dot com> 2011-12-10 21:06:14 UTC --- Created attachment 26045 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26045 test case compile with -std=c++11 to see the failure. Additionally add -DWORKAROUND to demonstrate why it ought to work.