From 3400060782343058446
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,c0d705ea4c8e83fc
X-Google-Attributes: gid109fba,public
X-Google-Thread: f78e5,c0d705ea4c8e83fc
X-Google-Attributes: gidf78e5,public
From: Steve Clamage <stephen.clamage@sun.com>
Subject: Re: run time type id with new
Date: 1999/12/13
Message-ID: <38555ED6.F5843009@sun.com>#1/1
X-Deja-AN: 560253959
X-NNTP-Posting-Host: taumet.eng.sun.com
Content-Transfer-Encoding: 7bit
Approved: stephen.clamage@sun.com (comp.std.c++)
References: <385169DC.CB0FF481@earthlink.net>
X-Accept-Language: en
X-UID: 0000000001
X-Status: $$$T
Content-Type: text/plain; charset=us-ascii
Organization: Sun Microsystems
Mime-Version: 1.0
Newsgroups: comp.lang.c++,comp.std.c++
Originator: clamage@taumet


Bryan P Walsh wrote:
> 
> The following program will compile and run using g++, but won't coompile
> with SGI's 7.3 compiler:
 
[ code using "typeof" ]

"typeof" is not part of standard C++. It is a language extension
provided by few compilers. (I don't know of any besides gnu.)

-- 
Steve Clamage, stephen.clamage@sun.com


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




