[LLVMbugs] [Bug 8448] non-sfinae error: is a private member

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 9 12:58:37 PDT 2014


Marc Glisse <marc.glisse at normalesup.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Marc Glisse <marc.glisse at normalesup.org> ---
I am now getting the following (the location of the note was fixed), so it
looks good. And it compiles without error in C++11.

cl.cc:3:41: error: 'priv' is a private member of 'A'
template <class T> void f(T,typename T::priv){}
cl.cc:4:10: note: while substituting deduced template arguments into function
      template 'f' [with T = A]
void g(){f(A(),A());}

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140609/b9eaafbf/attachment.html>

More information about the llvm-bugs mailing list