On 08/25/2012 01:09 PM, Paolo Carlini wrote:
suppose it's unintended, I can fix that at the first occasion... (also,
the testcase itself has a few a little mysterious commented out lines,
but I'm not going to insist ;) ;)
Right, I forgot to uncomment those. Fixed, thanks.
Jason
On 08/25/2012 05:29 AM, Jason Merrill wrote:
I noticed that the earlier work on access control SFINAE didn't handle
default template arguments; we weren't checking their access against
the right declarations at all. In order to do that, we need to
generate the DECL to compare against in fn_typ
I noticed that the earlier work on access control SFINAE didn't handle
default template arguments; we weren't checking their access against the
right declarations at all. In order to do that, we need to generate the
DECL to compare against in fn_type_unification, when we still know what
access