Article View: comp.std.c++
Article #2041Re: typedef X;
From: andrewfg
Date: Tue, 26 Sep 1995 16:48
Date: Tue, 26 Sep 1995 16:48
18 lines
1087 bytes
1087 bytes
In article <MATT.95Sep20135311@physics2.Berkeley.EDU> craig@mccabe.com (Craig P. Forbes) writes: > My understanding is that the typename keyword may only be used in templates > to identify subtypes of the template parameters, which otherwise can not be > identified as a type. > I like keywords, but why not just use 'class' here? It is the existing idiom. Even for enums and builtins, it serves the purpose -- that of resolving the ambiguity -- and D&E says that 'class' is the C++ for 'type'. A. --- [ 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.95Sep26094846@physics2.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!128.32.155.1!mattShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!128.32.155.1!matt From: andrewfg@aifh.ed.ac.uk Newsgroups: comp.std.c++ Subject: Re: typedef X; Date: 26 Sep 1995 16:48:46 GMT Organization: <none> Approved: matt@physics2.Berkeley.EDU (Matt Austern) Message-ID: <MATT.95Sep26094846@physics2.Berkeley.EDU> Reply-To: andrewfg@ed.ac.uk NNTP-Posting-Host: physics2.berkeley.edu