boostorg / typeof

Boost.org typeof module
http://boost.org/libs/typeof
12 stars 46 forks source link

[typeof][msvc-8.0] bug fix related to problem with included version of Boost.Test on msvc-8.0 #1

Closed mkaravel closed 3 years ago

mkaravel commented 10 years ago

When both boost/utility/enable_if.hpp and boost/test/included/unit_test.hpp are included, msvc-8.0 cannot figure out whether the enable_if and disable_if used in te typeof implementation for msvc-8.0 is that in the boost namespace or that in the boost::unit_test::decorator namespace.

Proposed solution: explicitly qualify enable_if and disable_if with the boost namespace.

This problem has appeared in recent boost/geometry unit tests, on msvc-8.0 platforms, where the included version of the unit test is used.

For example see: http://www.boost.org/development/tests/develop/developer/output/teeks99-02a-win2008-64on64-boost-bin-v2-libs-geometry-test-algorithms-difference_linear_linear-test-msvc-8-0-debug-asynch-exceptions-on-threading-multi.html for the results of the unit test, and: https://github.com/boostorg/geometry/blob/develop/test/algorithms/difference_linear_linear.cpp for the source code of the unit test.

K-ballo commented 10 years ago

Looks good to me

mclow commented 9 years ago

This looks fine to me, too.

awulkiew commented 8 years ago

I don't see this issue anymore, possibly due to the changes in Test.

UPDATE: or more probably because Geometry no longer depends on TypeOf.

raffienficiaud commented 6 years ago

Close?