🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: typedef not strong

#3420
From: Dag Bruck
Date: Fri, 23 Feb 1996 15:55
35 lines
1936 bytes
In article <4g62li$kuh@engnews1.Eng.Sun.COM>,
Steve Clamage <clamage@Eng.Sun.COM> wrote:
>rpayne@rainbow.rmii.com (Robert Payne) writes:
>
>>Why has C++ stayed with the weak typedef?  It has always seemed to
>>me that it should provide a new type and not just a synomym.
>
>I don't remember that issue ever being brought up in the C++
>committee.

The final comment of the Swedish Committee Draft Ballot response was
a recommendation to look closer at this issue in the next round of
standardization.  The suggested syntax was

	explicit typedef int length;

Note the use of keyword explicit to distinguish it from the current
typedef.

Dag Bruck
Swedish Head of Delegation, ISO SC22/WG21

-- 
Dynasim AB                            Phone:  +46 46 182500
Research Park Ideon                   Fax:    +46 46 129879
S-223 70 Lund                         E-mail: Dag@Dynasim.se
Sweden                                URL:    http://www.dynasim.se


[ To submit articles: Try just posting with your newsreader.
		      If that fails, use mailto:std-c++@ncar.ucar.edu
  FAQ:    http://reality.sgi.com/employees/austern_mti/std-c++/faq.html
  Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu
]
Technical Details
Message-ID: <Dn7vE0.6LE@akropolis.malmo.trab.se>
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage
References: <4g5sm4$dtt@natasha.rmii.com> <4g62li$kuh@engnews1.Eng.Sun.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage
From: dag@net.dynasim.se (Dag Bruck)
Newsgroups: comp.std.c++
Subject: Re: typedef not strong
Date: 23 Feb 1996 15:55:17 GMT
Organization: Dynasim AB, Lund, Sweden
Sender: news@akropolis.malmo.trab.se (News adm)
Approved: clamage@eng.sun.com (comp.std.c++)
Message-ID: <Dn7vE0.6LE@akropolis.malmo.trab.se>
References: <4g5sm4$dtt@natasha.rmii.com> <4g62li$kuh@engnews1.Eng.Sun.COM>
NNTP-Posting-Host: taumet.eng.sun.com
Content-Type: text
X-Nntp-Posting-Host: net.dynasim.se
Apparently-To: comp-std-c++@moderators.uu.net
Content-Length: 944
X-Lines: 28
Originator: clamage@taumet