From 1043018187903158113
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,74637d148a591f02
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2001-03-27 05:05:28 PST
Path: supernews.google.com!sn-xit-02!supernews.com!feed1.uncensored-news.com!news.alt.net!comp-std-cpp-robomod!not-for-mail
From: Francis Glassborow <francis.glassborow@ntlworld.com>
Newsgroups: comp.std.c++
Subject: Re: Proposal: two real uses for the "auto" keyword
Date: Tue, 27 Mar 2001 07:03:28 CST
Organization: Southfield Microcomputer SS
Lines: 29
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <umA+F7AF5Fw6Ewn5@ntlworld.com>
References: <052201c0b4ab$603e8050$0500a8c0@dragonsys.com>
 <99l3nf$7n0$1@news-int.gatech.edu> <+zJqQ9Afowv6Ews1@ntlworld.com>
 <3ABF4E68.14646D4E@acm.org>
Reply-To: Francis Glassborow <francisG@robinton.demon.co.uk>
Mime-Version: 1.0
Return-Path: <devnull@stump.algebra.com>
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-Newsreader: Turnpike Integrated Version 5.00 U <TilyaeicE$WmMOP9F8P4$y3lmP>
Xref: supernews.google.com comp.std.c++:4026

In article <3ABF4E68.14646D4E@acm.org>, James Dennett <jdennett@acm.org>
writes
>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.

I think the pain would still be there unless you want to deprecate
member function declarations in classes:)

-- 
Francis Glassborow
See http://www.accu.org for details of The ACCU Spring Conference, 2001
(includes many regular participants to C & C++ newsgroups)

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



