
11 Dec
2005
11 Dec
'05
10:42 a.m.
Config info isn't reporting BOOST_HAS_NRVO as being set.
Is config broken, or is MS wrong?
Is config info just a report? I thought it was automatically generated.
Yes config_info is just a report, config_test is the consolidated test program for Boost.Config. Turning BOOST_HAS_NVRO on for VC8 causes the test program to fail, unless optimisations are turned on, in which case it is indeed supported. So I suggest we add: #if (_MSC_VER >= 1400) && !defined(_DEBUG) # define BOOST_HAS_NRVO #endif to visualc.hpp, note that _DEBUG isn't really the right macro to use here, but it's as close an approximation as we can get. Thoughts? John.