|
Boost : |
From: Gennaro Prota (gennaro_prota_at_[hidden])
Date: 2006-06-22 07:12:27
On Thu, 22 Jun 2006 12:54:06 +0200, "Pavel Vozenilek"
<pavel_vozenilek_at_[hidden]> wrote:
>Digital Mars supports __FUNCTION__,
>__func__ and __PRETTY_FUNCTION__.
>
>However the current_function.hpp settings
>result in "(unknown)" to be used all the time
>(as __STDC_VERSION__ is hardcoded
>to 19990L).
>
>
>
>The Boost code may be appended with
>
>...
>#elif (defined __DMC__) // since 8.10
># define BOOST_CURRENT_FUNCTION __PRETTY_FUNCTION__
>...
>
>The first release supporting __PRETTY_FUNCTION__ was 8.10,
>at some time before 2002.
Do you imply that
#if defined __PRETTY_FUNCTION__
does not work?
--Gennaro.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk