2 Apr
2013
2 Apr
'13
7:40 p.m.
02.04.2013 22:46, Vicente J. Botet Escriba:
Should then the user of Boost.Thread define BOOST_RESULT_OF_USE_DECLTYPE explicitly?
If user is happy with behaviour of decltype on his compiler - then yes, he may define BOOST_RESULT_OF_USE_DECLTYPE. I guess that in simple cases result of decltype is OK on most compilers. As Andrey Semashev pointed out, looks like current GCC implementation of decltype is not mature enough to be used by default within boost::result_of. -- Evgeny Panasyuk