Topic: g++ (3.3) bug?
Author: ataru@nospam.cyberspace.org (Christopher Benson-Manica)
Date: Mon, 19 Apr 2004 21:45:48 +0000 (UTC) Raw View
Kevin Goodsell <usenet2.spamfree.fusion@neverbox.com> spoke thus:
(moving to comp.std.c++)
> Christopher Benson-Manica wrote:
>> __FUNCTION__ isn't standard, but C99 specifies the __func__ predefined
>> identifier, which I believe is #define'd to be __FUNCTION__ for OP's
>> implementation. I would be interested to know whether __func__ made
>> it into standard C++ as well.
> Not yet. C++ hasn't added any new features since the first standard in 1998.
Does "not yet" mean that it's planned for the next version of the C++
standard?
--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
---
[ 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.jamesd.demon.co.uk/csc/faq.html ]
Author: Michiel.Salters@logicacmg.com (Michiel Salters)
Date: Tue, 20 Apr 2004 18:02:40 +0000 (UTC) Raw View
ataru@nospam.cyberspace.org (Christopher Benson-Manica) wrote in message news:<c6155c$4ni$1@chessie.cirr.com>...
> Kevin Goodsell <usenet2.spamfree.fusion@neverbox.com> spoke thus:
>
> (moving to comp.std.c++)
>
> > Christopher Benson-Manica wrote:
>
> >> __FUNCTION__ isn't standard, but C99 specifies the __func__ predefined
> >> identifier, which I believe is #define'd to be __FUNCTION__ for OP's
> >> implementation. I would be interested to know whether __func__ made
> >> it into standard C++ as well.
>
> > Not yet. C++ hasn't added any new features since the first standard in 1998.
>
> Does "not yet" mean that it's planned for the next version of the C++
> standard?
There is some obvious discussion about the meaning of __func__ in C++
special cases - the destructor mentioned before, namespaces - but it is
covered by the desire to create a viable subset of C99 and C++0x. So
s/planned/considered/ and you're right.
Regards,
Michiel Salters
---
[ 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.jamesd.demon.co.uk/csc/faq.html ]