From -4471226651980485525
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,a69618ea97f65037,start
X-Google-Attributes: gidf78e5,public
From: "Lo�c Tr�gan" <loic.tregan@isdnet.net>
Subject: nested functions
Date: 1998/04/19
Message-ID: <6hac23$8lb$1@news2.isdnet.net>#1/1
X-Deja-AN: 345540536
Approved: Fergus Henderson <fjh@cs.mu.oz.au>
Content-Transfer-Encoding: 8bit
X-Original-Date: Sat, 18 Apr 1998 16:04:06 +0100
Content-Type: text/plain; charset=unknown-8bit
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: -
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUANTl1heEDnX0m9pzZAQHIXQF7BkqgukZtKKZuKOiwBhOSxxYEVDNupERe j+RR3agKu1O1uTLp5U63vF3Mn79GRCnd =cour
MIME-Version: 1.0
Newsgroups: comp.std.c++


Are nested functions a good thing ? (of course, i have my opinion...)

void f()
{
      void InternalA() {}
      void InternalB() {}

    InternalA();
    InternalB();
}

if YES, why they are nt in the draft ?
if NO, why are they allowed in C and not C++ ?

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



