public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/67402] New: outside definition of member class of an explicitly specialized member class
@ 2015-08-30 20:16 a20150531abc at 126 dot com
  2021-08-09 20:48 ` [Bug c++/67402] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: a20150531abc at 126 dot com @ 2015-08-30 20:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67402
           Summary: outside definition of member class of an explicitly
                    specialized member class
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: a20150531abc at 126 dot com
  Target Milestone: ---

template<class T>
struct A {
    struct B{};
};

template<> struct A<char>::B{
    void f();
    struct C;
    struct D{}; // ok
};

void A<char>::B::f(){}// ok 

struct A<char>::B::C{};// error

int main()
{
    return 0;
}


prog.cc:14:24: error: too few template-parameter-lists


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/67402] outside definition of member class of an explicitly specialized member class
  2015-08-30 20:16 [Bug c++/67402] New: outside definition of member class of an explicitly specialized member class a20150531abc at 126 dot com
@ 2021-08-09 20:48 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-09 20:48 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |9.0
         Resolution|---                         |FIXED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed in GCC 9+, I am 90% sure it was fixed by r9-282.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-09 20:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-30 20:16 [Bug c++/67402] New: outside definition of member class of an explicitly specialized member class a20150531abc at 126 dot com
2021-08-09 20:48 ` [Bug c++/67402] " pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).