Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-05-23 07:59:36


Pavel Vozenilek wrote:
> current_function.hpp doesn't include Intel C++ where __FUNCTION__ can
> be used. It is more-less equivalent of GCC __FUNCTION__ (not the
> pretty one).
>
> No other similar macro works. It is not listed in official
> documentation but (likely) provided as GCC compatibility feature.

If you put

#elif defined(__FUNCTION__)

# define BOOST_CURRENT_FUNCTON __FUNCTION__

in current_function.hpp, does it work on Intel?

> Btw: what is purpose of current_function_helper()?

The __FUNCSIG__ macro is only defined in functions.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk