🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

typedef X;

#1981
From: Haim Kreitman
Date: Sun, 17 Sep 1995 03:44
21 lines
1047 bytes
STL uses in many places typedef with only one identificator.
I couldn't find such kind of sintax in draft.

typedef type1 type2;   // like in C
typedef type1;         // what does it mean ???


-- Haim Kreitman,
-- haim_kreitman@mail.stil.scitex.com,
-- Scitex Corp.  Israel.


[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]

---
[ 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: <MATT.95Sep16194450@Austern>
Path: arc1-ca.pugleaf.net!howland.reston.ans.net!agate!agate!Matt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!howland.reston.ans.net!agate!agate!Matt
From: Haim Kreitman <haim_kreitman@mail.stil.scitex.com>
Newsgroups: comp.std.c++
Subject: typedef X;
Date: 17 Sep 1995 03:44:50 GMT
Organization: Scitex LTD
Approved: Matt@Austern
Message-ID: <MATT.95Sep16194450@Austern>
NNTP-Posting-Host: austern.hip.berkeley.edu