🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by andrewfg Tue, 26 Sep 1995 16:48
Re: typedef X;
#2041
Author: andrewfg
Date: Tue, 26 Sep 1995 16:48
18 lines
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. ]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads