4 Jul
2013
4 Jul
'13
12:25 a.m.
On Jun 27, 2013, at 7:26 PM, Klaim - Joël Lamotte
I just upgraded to the last Boost revision but didn't see any change related to this. Will the patch be applied only in the next version?
Anyway I will define BOOST_RESULT_OF_USE_DECLTYPE manually in my project CMake to make the result more predictable for me.
Yes, you should define BOOST_RESULT_OF_USE_DECLTYPE. As a general rule of thumb, the only time you should not define BOOST_RESULT_OF_USE_DECLTYPE is if you are working with C++03 code. In fact, on more compliant C++11 compilers (e.g. clang 3.1, gcc 4.8.1, msvc 12), decltype will be enabled by default. - Daniel