
29 Jul
2008
29 Jul
'08
3:55 p.m.
AMDG Niels Dekker - mail address until 2008-12-31 wrote:
Thanks, Dave. Unfortunately for MSVC, most of the tests would be broken, when doing so! So I guess we would need to do an #if BOOST_WORKAROUND within swap.hpp, e.g., as follows:
#if BOOST_WORKAROUND( BOOST_MSVC, BOOST_TESTED_AT(1500) ) using swap_adl_barrier::swap; #else using namespace swap_adl_barrier; #endif
Right? I only tested it on MSVC, because I don't have direct access to an up-to-date GCC compiler at the moment. Shall I just commit it and see how the regression goes?
I'll run the tests on all the compilers I have available, (gcc-3.4.4, gcc-4.2.3, gcc-4.3.0, msvc-7.1, msvc-8.0, msvc-9.0, cw-8.0, cw-9.2, sun-5.9, como-4.3.10.1) In Christ, Steven Watanabe