From 8338263283319576018
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,83aac58a7c7d6c46
X-Google-Attributes: gidf78e5,public
From: comeau@panix.com (Greg Comeau)
Subject: Re: Advice: C9X's __func__ on C++
Date: 1999/06/10
Message-ID: <7jp1gn$6ho$1@panix.com>#1/1
X-Deja-AN: 488088716
Approved: Valentin Bonnard <bonnard@clipper.ens.fr>
References: <slrn7lra47.6l.bcombee@bcombee.metrowerks.com> <newscache$r0x1df$tpc$1@firewall.thermoteknix.co.uk>
X-Original-Date: 10 Jun 1999 14:52:07 -0400
Organization: Comeau Computing; http://www.comeaucomputing.com
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBVAwUAN2A3bawEuYhIxRhxAQEMUgIAhSelFEt50VqBc7m8uS9rgQaHhhwXKg5N 6wR2AjIdpnHpM2dvGnAglfiidfBKv+JOHiiaFPZ72R15br59B1flVQ== =7YcK
Reply-To: comeau@comeaucomputing.com
Newsgroups: comp.std.c++
X-Newsposter: trn 4.0-test55 (26 Feb 97)

In article <newscache$r0x1df$tpc$1@firewall.thermoteknix.co.uk> "Ken Hagan" <K.Hagan@thermoteknix.co.uk> writes:
>If __func__ is a preprocessor symbol

It can't be.  The phases of translation don't allow for it to be one
if the function name is desired.  Things like non-preprocessor names (sic)
are not (logically) known till later.  Remember, the preprocessor is just
a "dumb text substituter" for the most part, which then "feeds" the other
parts.

- Greg
-- 
       Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
     Producers of Comeau C/C++ 4.2.38 -- New Release!  We now do Windows too.
    Email: comeau@comeaucomputing.com / Voice:718-945-0009 / Fax:718-441-2310
                *** WEB: http://www.comeaucomputing.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              ]



