This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49399] [C++0x] substitution failure error
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Jun 2011 12:30:57 +0000
- Subject: [Bug c++/49399] [C++0x] substitution failure error
- Auto-submitted: auto-generated
- References: <bug-49399-4@http.gcc.gnu.org/bugzilla/>
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.