🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #791

DISCONTINUING comp.std.c++ (was: Nested Class Definitions Question)

#791
From: Ron Guilmette
Date: Sun, 20 Jan 1991 10:20
29 lines
1557 bytes
In article <DSOUZA.91Jan4201341@optima.cad.mcc.com> dsouza@optima.cad.mcc.com (Desmond Dsouza) writes:
+
+Is it legal to forward declare a class nested in another class?
+I believe the following is illegal in C++? If so, why? It is a
+useful form of modularity.
+
+class PRINTING_SYS {
+  class PRINTER;      // Nested class forward declaration
+  class PRINT_QUEUE;  //  "  
+public:
+  spool();
+};
+
+class PRINTING_SYS::PRINTER { ... };
+class PRINTING_SYS::PRINT_QUEUE { ... };

I have now seen numerous messages posted to this newsgroup which did not
belong here, however I have yet to see any response whatsoever to this
very valid question about a significant C++ standards issue.

What's the problem?  Is there really such a total disinterest in C++
standards issues by readers of usenet news?  Should this newsgroup
be disbanded due to lack of interest?

-- 

// Ron Guilmette  -  C++ Entomologist
// Internet: rfg@ncd.com      uucp: ...uunet!lupine!rfg
// Motto:  If it sticks, force it.  If it breaks, it needed replacing anyway.
Technical Details
Message-ID: <3409@lupine.NCD.COM>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!infopiz!lupine!rfg
References: <DSOUZA.91Jan4201341@optima.cad.mcc.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!infopiz!lupine!rfg
From: rfg@NCD.COM (Ron Guilmette)
Newsgroups: comp.std.c++
Subject: DISCONTINUING comp.std.c++ (was: Nested Class Definitions Question)
Message-ID: <3409@lupine.NCD.COM>
Date: 20 Jan 91 10:20:33 GMT
References: <DSOUZA.91Jan4201341@optima.cad.mcc.com>
Distribution: na
Organization: Network Computing Devices, Inc., Mt. View, CA
Lines: 29