5 Mar
2014
5 Mar
'14
7:59 p.m.
On Wednesday 05 March 2014 21:49:44 Borislav Stanimirov wrote:
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?
Yeah, I might resort to that since that's mostly what I need in Boost.Log. The point for __FUNCSIG__ is that in other cases it is more consistent with other compilers, so if someone wants to see the complete signature (which is the current behavior) he gets it with MSVC too.