From -5955883251858871924
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,fb1a92fa405c930c
X-Google-Attributes: gidf78e5,public
From: source@netcom.com (David Harmon)
Subject: Re: nested functions
Date: 1999/06/23
Message-ID: <378468a0.92882118@nntp.ix.netcom.com>#1/1
X-Deja-AN: 492870507
Content-Transfer-Encoding: 7bit
Approved: Valentin Bonnard <bonnard@clipper.ens.fr>
References: <7jd4c5$nup$1@nnrp1.deja.com> <7jjjr6$r02$1@nnrp1.deja.com> <7jma5c$i85@abyss.West.Sun.COM> <37dd56e1.565652003@nntp.ix.netcom.com> <7jp0l8$s1r$1@engnews1.eng.sun.com> <37f9872b.643561308@nntp.ix.netcom.com> <7k60a4$rah$1@nnrp1.deja.com>
X-Original-Date: Thu, 17 Jun 1999 18:33:04 GMT
Content-Type: text/plain; charset=us-ascii
Organization: Netcom
X-NETCOM-Date: Thu Jun 17  1:24:50 PM CDT 1999
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBVAwUAN3ColawEuYhIxRhxAQE3zgIApxqQ3IOE1KWodFLJ/jNgkXMurPTzeuWj GQ8u2IwNJZLfGggauq1VAllelS7XYl2sgIrg4beoy6bYMGyhv1bK6A== =tK1x
Mime-Version: 1.0
Newsgroups: comp.std.c++
NNTP-Posting-User: source

On 16 Jun 99 03:58:16 GMT in comp.std.c++, James.Kanze@dresdner-bank.com
wrote:

>> I'm afraid that would have to be disallowed too.  The type of &g would
>> be something resembling int(main::*)(int) and nothing outside of main
>> would know enough about it to use it.  foo(g) would be a type
>mismatch.
>
>But then you've eliminated the main reason for wanting local functions.

After reading some of your other articles, I think you may be right,
subject to some question over "main reason."  I don't think it
eliminates the main reason I wanted them, but I may be thinking too
narrowly.
---
[ 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              ]



