Article View: comp.std.c++
Article #2845Re: stop adding keywords to C++
From: mfinney
Date: Tue, 05 Dec 1995 09:04
Date: Tue, 05 Dec 1995 09:04
21 lines
1276 bytes
1276 bytes
In <49vplf$mvs@engnews2.Eng.Sun.COM>, clamage@Eng.sun.com (Steve Clamage) writes: >The other reason is that no user definition of a boolean type can >type. For example: This is one of the biggest problems with C/C++. Since typedef is "transparent" you can't overload on it. If C/C++ had a "type" which is identical to "typedef" except that the type defined is opaque so that overloading is possible then programming could be simplified in many cases. And would have made the bool type unnecessary because it COULD have been defined in the language with that extension. Michael Lee Finney --- [ 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:
<4a12d7$vps@mujibur.inmind.com>Path:
arc1-ca.pugleaf.net!info.ucla.edu!agate!agate!MattReferences:
<Pine.SOL.3.91.951203010216.13007A-100000@barney> <49vplf$mvs@engnews2.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!info.ucla.edu!agate!agate!Matt From: mfinney@inmind.com Newsgroups: comp.std.c++ Subject: Re: stop adding keywords to C++ Date: 05 Dec 1995 09:04:29 GMT Organization: In Mind, Inc. Approved: Matt@Austern Message-ID: <4a12d7$vps@mujibur.inmind.com> References: <Pine.SOL.3.91.951203010216.13007A-100000@barney> <49vplf$mvs@engnews2.Eng.Sun.COM> Reply-To: mfinney@inmind.com NNTP-Posting-Host: austern.hip.berkeley.edu