🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

template typedef

#2972
From: J. Karl Armstrong
Date: Sat, 17 Feb 1996 00:11
18 lines
1379 bytes
Is there any reason why template typedefs are not allowed? Something like:

template <class T>
typedef T *GeneralPointer;

GeneralPointer<int> iptr;

Trivial example, I know, but there are reasons I would like this.

-- 
J. Karl Armstrong                            Computing Devices Int.
jonathan.k.armstrong@cdev.com                6041 S. Syracuse Way, Ste 300
(303) 779-7702                               Greenwood Villiage, CO, 80111
(303) 779-7704 (fax)
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy is
  in http://reality.sgi.com/employees/austern_mti/std-c++/policy.html. ]
Technical Details
Message-ID: <jonathan.k.armstrong-1602961624250001@mac-nro.denver.cdev.com>
Path: arc1-ca.pugleaf.net!chronicle.mti.sgi.com!austern

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!chronicle.mti.sgi.com!austern
From: jonathan.k.armstrong@cdev.com (J. Karl Armstrong)
Newsgroups: comp.std.c++,comp.lang.c++,comp.lang.c++.moderated
Subject: template typedef
Date: 16 Feb 1996 16:11:04 PST
Organization: Computing Devices Int.
Approved: austern@isolde.mti.sgi.com
Message-ID: <jonathan.k.armstrong-1602961624250001@mac-nro.denver.cdev.com>
NNTP-Posting-Host: isolde.mti.sgi.com
X-Original-Date: Fri, 16 Feb 1996 16:24:25 -0600
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBVAwUBMSUdRUy4NqrwXLNJAQENdwH+Pb4GYWcR17WJ/03JgtX1s7BEOMvZLKjS
 QufjlpxGoyNGkbmv1iPSqdPKWUS1dMrsTYFGoYcdgKHcFDGtGvjiDQ==
 =falK
Originator: austern@isolde.mti.sgi.com