This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Ah, yes. But then you don't handleWe can support those. It's just a tweak to deal with more complex cases in is_friend (or a function called by it). But I am not sure if the standard intends to allow arbitrary
template <class T> template <class U> template <class V> friend void A<T>::B<U>::f(V);
which would have friend_depth == 3. Why is that too many template headers? Similarly, why do you want to reject
template <class T> template <class U>
friend void A<T>::B<U>::f();
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |