🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Dov Kruger Sat, 22 Aug 1992 08:35
(none)
#985
Author: Dov Kruger
Date: Sat, 22 Aug 1992 08:35
23 lines
866 bytes
Nested classes result in a syntax error when the enclosing class is a template.
DEC's cxx compiler successfully swallows this, and I can't find anything to
indicate that it should be illegal, so I assume it's a bug.  Thanks for a
generally wonderful product.  My only question is -- when will you have exceptions?

cheers,
dov


template <class T> class A {
public:
  T* _data;
  class Iter {
    T* _data;
  };
};


main()
{
  A<int> x;
  A<int>::Iter y;
}
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads