Article View: comp.std.c++
Article #3754Re: static_cast
From: Nathan Myers, http://www.cantrip...
Date: Thu, 21 Mar 1996 10:49
Date: Thu, 21 Mar 1996 10:49
27 lines
1754 bytes
1754 bytes
linh (l.) dang wrote: > Since static_cast is not always safe, did anyone consider a set of > implicit_cast<T> template functions as part of the standard library ? They were considered at the meeting in Tokyo (Nov. '95) but rejected as an extension proposal that arrived just too late. (I gather they were left out of the proposal for the original suite of casts because they could be implemented in the library, but nobody got around to proposing them to the library group until too late.) If they find wide use they might be added to the next C++ standard. > These functions are efficient, safe and might be the fatal blow to the > old-style cast. One can dream, at least. Nathan Myers ncm@cantrip.org http://www.cantrip.org/ --- [ comp.std.c++ is moderated. To submit articles: try just posting with ] [ your news-reader. 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:
<314FA95C.2F38755E@cantrip.org>Path:
arc1-ca.pugleaf.net!in1.uu.net!bounce-backReferences:
<gkng2b584f4.fsf@bmtlh30.nortel.ca>Show Full Headers
Complete Article Headers
From: "Nathan Myers, http://www.cantrip.org/" <ncm@cantrip.org> Message-ID: <314FA95C.2F38755E@cantrip.org> X-Original-Date: Tue, 19 Mar 1996 22:44:44 -0800 Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back Date: 21 Mar 96 10:49:26 GMT Approved: fjh@cs.mu.oz.au Newsgroups: comp.std.c++ Subject: Re: static_cast Organization: The Cantrip Cooperative References: <gkng2b584f4.fsf@bmtlh30.nortel.ca> X-Mailer: Mozilla 2.0 (X11; I; Linux 1.2.13 i386) X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMVE0UOEDnX0m9pzZAQFZTgF+PKjVpZ2iBYNGCExLImT8yaeK4AAuKrwY pi1BclHWz5RA6iht3+s8TMGmCLkFBW5R =L1hg