http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49399
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-14 12:30:06 UTC --- (In reply to comment #4) > Ah, I see. Well the example you gave also doesn't compile. This is exactly > what > the boost library does too, I missed that part in their code, meaning that > parts of boost no longer compile with gcc 4.7. And I know it doesn't, as I said "G++ doesn't accept it because access checking is not done as part of the substitution process yet." Even when that's done, it will only be valid C++0x not, C++03.