🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Can this be done?

#541
From: Shankar Unni
Date: Sat, 06 Oct 1990 01:42
20 lines
858 bytes
Brian Hawley:

> class Symbol {
>       public:
> 		  struct node {
> 			   int a;       // in real life, this data area more complex
> 			   char b;
> 			   int c;
>             }
> 			   Symbol();
> 			   ~Symbol()
> 			   // and others
>           }
> 
> And then try to declare something like "Symbol::node *temp", or other
> alternatives ...

"Symbol::node *temp" is perfectly valid code with C++ 2.1.
----
Shankar Unni.
Technical Details
Message-ID: <77210005@hpclscu.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!hplabs!hpcc05!hpcuhb!hpcllla!hpclisp!hpclscu!shankar
References: <9033@ucrmath.ucr.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!hplabs!hpcc05!hpcuhb!hpcllla!hpclisp!hpclscu!shankar
From: shankar@hpclscu.HP.COM (Shankar Unni)
Newsgroups: comp.std.c++
Subject: Re: Can this be done?
Message-ID: <77210005@hpclscu.HP.COM>
Date: 6 Oct 90 01:42:10 GMT
References: <9033@ucrmath.ucr.edu>
Organization: Hewlett-Packard Calif. Language Lab
Lines: 20