Path: 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: Distribution: na Organization: Network Computing Devices, Inc., Mt. View, CA Lines: 29 In article 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.