Title
Nested friend templates of class templates
Status
nad
Section
13.7.5 [temp.friend]
Submitter
John Spicer

Created on 2016-07-17.00:00:00 last changed 48 months ago

Messages

Date: 2020-12-15.00:00:00

The current wording is not clear how to declare that a nested class template of a class template is a friend of its containing template. For example, is

  template <class T> struct C {
    template <bool b> class Foo;
    template <bool b> friend class Foo;
  };

correct, or should it be

  template <class T> struct C {
    template <bool b> class Foo;
    template <class X> template <bool b> friend class C<X>::Foo;
  };

Rationale (June, 2018)

The submitter asked that the issue be withdrawn.

History
Date User Action Args
2020-12-15 00:00:00adminsetstatus: open -> nad
2016-07-17 00:00:00admincreate