From 5804643496036605087
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,ede379f5dbbc1549
X-Google-Attributes: gidf78e5,public
From: Hyman Rosen <hymie@prolifics.com>
Subject: Re: Suggestion: "typeof" keyword
Date: 1999/08/24
Message-ID: <t7aerii31f.fsf@calumny.jyacc.com>#1/1
X-Deja-AN: 516723333
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
References: <7nt3vl$1oe$1@nnrp1.deja.com> <7oh7o8$t3f$1@nnrp1.deja.com> <7ol6hi$ej9$2@news.BelWue.DE> <cTiioXAhAwr3Ew$X@robinton.demon.co.uk> <t7d7ww1vrz.fsf@calumny.jyacc.com> <e4DSyfA4ALs3Ew0Q@robinton.demon.co.uk> <t7hfm6ytow.fsf@calumny.jyacc.com> <37B2DA79.3A02@wanadoo.fr> <7p0lub$2i3$1@mulga.cs.mu.OZ.AU> <t7pv0r4p8h.fsf@calumny.jyacc.com> <7p8h3g$ftv$1@mulga.cs.mu.OZ.AU>
X-Original-Date: 23 Aug 1999 17:46:04 -0400
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@news.unimelb.edu.au
X-Trace: izvestia.its.unimelb.edu.au 935526650 28601 128.250.29.17 (24 Aug 1999 20:30:50 GMT)
Organization: PANIX Public Access Internet and UNIX, NYC
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUAN8MA6eEDnX0m9pzZAQFVyAF8C1b+VtPRF2ZCMPc4EQLLCU0ksAdjYjN7 iYQekMyTOfmxfk9HmzevuNOUYV8BLLu2 =oaf9
Mime-Version: 1.0
User-Agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.3
NNTP-Posting-Date: 24 Aug 1999 20:30:50 GMT
Newsgroups: comp.std.c++

fjh@cs.mu.OZ.AU (Fergus Henderson) writes:
> Here the deduction is being done by the argument type deduction for
> the `deduce<T>::operator()' function, rather than by `typeof()'.

So what? The point of having typeof is to let you do things that are
impossible to do otherwise. That it interacts synergistically with
other features of C++ is good, and in fact is an argument for adopting
it!
---
[ 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    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]



