This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC / RFH] Re-opened C++/51213 (access control under SFINAE)
- From: Jason Merrill <jason at redhat dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 01 Aug 2012 10:32:22 -0400
- Subject: Re: [RFC / RFH] Re-opened C++/51213 (access control under SFINAE)
- References: <50190E4D.4070109@oracle.com>
I think the problem is that we're deferring access control due to
tentative parsing on line 11, and not on line 13. I guess we need a
push_deferring_access_checks (dk_no_deferred);
pop_deferring_access_checks ();
around the substitution of default template args in type_unification_real.
Jason