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 08:15:35 +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 #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-14 08:15:14 UTC ---
when you say "works fine" do you mean "doesn't do the access check"?
surely if SFINAE correctly honours access control then the function shouldn't
be callable and the program won't compile