From 1185938788188525490
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,74637d148a591f02
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2001-03-26 15:48:02 PST
Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: James Dennett <jdennett@acm.org>
Newsgroups: comp.std.c++
Subject: Re: Proposal: two real uses for the "auto" keyword
Date: Mon, 26 Mar 2001 23:44:29 GMT
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <3ABF4E68.14646D4E@acm.org>
References: <052201c0b4ab$603e8050$0500a8c0@dragonsys.com>
	 <99l3nf$7n0$1@news-int.gatech.edu> <+zJqQ9Afowv6Ews1@ntlworld.com>
X-Trace: mail2news.demon.co.uk 985650275 mail2news:659 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Accept-Language: en
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 21
Xref: supernews.google.com comp.std.c++:4019

Francis Glassborow wrote:
> 
> In article <99l3nf$7n0$1@news-int.gatech.edu>, Brian McNamara!
> <gt5163b@prism.gatech.edu> writes
> >(As an aside, I am curious why function declarations are even allowed
> >inside functions.)
> 
> Almost certainly for compatibility with C.

Would it be sensible to consider deprecating this feature, 
or removing it altogether?  It seems to give no significant
benefit, and plenty of pain.

-- James Dennett

---
[ 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://www.research.att.com/~austern/csc/faq.html                ]



