https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63532

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-10-14
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
G++ accepts the using declaration but it seems to have no effect when forming a
pointer to member for a specialization:

in.cc: In function ‘int main()’:
in.cc:3:11: error: ‘void Foo::meth() [with <template-parameter-1-1> = int]’ is
inaccessible
   void    meth();
           ^
in.cc:12:16: error: within this context
   (void) &Bar::meth<int>;
                ^

Reply via email to