From 5871987961218305181
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,ede379f5dbbc1549
X-Google-Attributes: gidf78e5,public
From: "Greg Brewer" <nospam.gregb@hal-pc.org>
Subject: Re: Suggestion: "typeof" keyword
Date: 1999/08/11
Message-ID: <7oq2c0$151s$1@news.hal-pc.org>#1/1
X-Deja-AN: 511350529
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
References: <7nt3vl$1oe$1@nnrp1.deja.com>
X-Original-Date: Tue, 10 Aug 1999 15:33:46 -0500
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Complaints-To: news@news.unimelb.edu.au
X-Trace: izvestia.its.unimelb.edu.au 934352589 22218 128.250.29.17 (11 Aug 1999 06:23:09 GMT)
Organization: Houston Area League of PC Users, Inc.
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUAN7EWvuEDnX0m9pzZAQGVNgF/Z8pcbTUk4fEltdaAHFzYmYUXV1C83tBJ FROKPLGv0dAHG8MTMh9GTtrdFVTCSvRa =aZVL
X-MSMail-Priority: Normal
NNTP-Posting-Date: 11 Aug 1999 06:23:09 GMT
Newsgroups: comp.std.c++

<niklasb@my-deja.com> wrote in message news:7nt3vl$1oe$1@nnrp1.deja.com...
> I have in mind a keyword, typeof, which would yield the type
> of an expression. Like its cousin "sizeof," typeof would not
> actually evaluate anything at run-time.

I love this idea.  I've been arguing with people about it in the Borland C++
language newsgroup.  For some reason, there were some people that were down
right hostile to the idea.

Greg Brewer
---
[ 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              ]



