Article View: comp.std.c++
Article #3489Re: typedef not strong
From: Michael Cook
Date: Sun, 18 Feb 1996 21:46
Date: Sun, 18 Feb 1996 21:46
15 lines
1287 bytes
1287 bytes
>>>>> "RP" == Robert Payne <rpayne@rainbow.rmii.com> writes: RP> Why has C++ stayed with the weak typedef? It has always seemed to RP> me that it should provide a new type and not just a synomym. C++ /has/ a mechanism for creating new types: `class'. `typedef' is just a fancy `#define'--and I think it's clear from K&R that that's all it was intended to be. [ 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:
<r4d97clcgj.fsf@erawan.cognex.com>Path:
arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamageReferences:
<4g5sm4$dtt@natasha.rmii.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage From: Michael Cook <mcook@cognex.com> Newsgroups: comp.std.c++ Subject: Re: typedef not strong Date: 18 Feb 1996 21:46:16 GMT Organization: Cognex Corporation, Natick, Massachusetts Sender: mcook@cognex.com Approved: clamage@eng.sun.com (comp.std.c++) Message-ID: <r4d97clcgj.fsf@erawan.cognex.com> References: <4g5sm4$dtt@natasha.rmii.com> NNTP-Posting-Host: taumet.eng.sun.com Content-Type: text X-Nntp-Posting-Host: erawan.cognex.com X-Newsreader: September Gnus v0.38/Emacs 19.30 Content-Length: 364 Originator: clamage@taumet