Boost logo

Boost :

Subject: Re: [boost] [offtopic] Wonders of C++ syntax
From: Borislav Stanimirov (b.stanimirov_at_[hidden])
Date: 2014-03-05 14:49:44


On 5.3.2014 г. 21:31 ч., Andrey Semashev wrote:
>
> MSVC was more creative:
>
> __cdecl namespc::my_class2::operator char (__cdecl
> *)(double)(__cdecl *(void) const)(double)
>

It seems that BOOST_CURRENT_FUNCTION expands to __FUNCSIG__ in msvc, as
the simple __FUNCTION__ produces a far simpler output (similar to the
one in gcc.

Why don't you try using __FUNCTION__ when _MSC_VER is defined?

-- Borislav


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