🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: typedef X;

#1986
From: Etay Bogner
Date: Sun, 17 Sep 1995 17:05
26 lines
1356 bytes
In article <MATT.95Sep16194450@Austern>, Haim Kreitman
<haim_kreitman@mail.stil.scitex.com> wrote:

>> typedef type1;         // what does it mean ???

>> [Moderator's note: the STL documentation has some "code" that isn't
>> code.  This sort of line isn't supposed to be legal C++, it's just 
>> supposed to indicate that type1 is a typedef for something.  mha]

Haim and me once thought that this is a forward declaration for a type.
While reading the draft, I've noticed that there is a new keyword,
"typename", that is used for that purpose.

I think that STL should be updated to contain the "typename" keyword to
prevent confusion.

Etay.

-- Etay Bogner,
-- Etay_Bogner@mail.stil.scitex.com,
-- Scitex Corp.
-- Israel.
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID: <Etay_Bogner-1709951504510001@metay_pc.stil.scitex.com>
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back
References: <MATT.95Sep16194450@Austern>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back
Date: 17 Sep 95 17:05:41 GMT
Approved: fjh@cs.mu.oz.au
From: Etay_Bogner@mail.stil.scitex.com (Etay Bogner)
Newsgroups: comp.std.c++
Subject: Re: typedef X;
X-Original-Date: Sun, 17 Sep 1995 15:04:51 +0200
Organization: Scitex Corp.
Message-ID: <Etay_Bogner-1709951504510001@metay_pc.stil.scitex.com>
References: <MATT.95Sep16194450@Austern>