[type traits] Borland 2006 patch

There are quite a few more BCB2006 patches to come, but now that Metacomm tests are running I will submit the more important (that affect dependant libraries) New compiler config header will follow tonight - although it is largely the same as for BCB6. First up, is_enum: cvs diff -u -wb -- boost\type_traits\is_enum.hpp (in directory E:\sourceforge\devel\boost\) Index: boost/type_traits/is_enum.hpp =================================================================== RCS file: /cvsroot/boost/boost/boost/type_traits/is_enum.hpp,v retrieving revision 1.16 diff -u -w -b -r1.16 is_enum.hpp --- boost/type_traits/is_enum.hpp 7 Oct 2005 14:26:38 -0000 1.16 +++ boost/type_traits/is_enum.hpp 18 Jan 2006 06:58:50 -0000 @@ -52,7 +52,7 @@ template <typename T> struct is_class_or_union { -# if BOOST_WORKAROUND(BOOST_MSVC, < 1300) || BOOST_WORKAROUND(__BORLANDC__, <= 0x570)// we simply can't detect it this way. +# if BOOST_WORKAROUND(BOOST_MSVC, < 1300) || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x581) )// we simply can't detect it this way. BOOST_STATIC_CONSTANT(bool, value = false); # else template <class U> static ::boost::type_traits::yes_type is_class_or_union_tester(void(U::*)(void)); -- AlisdairM

There are quite a few more BCB2006 patches to come, but now that Metacomm tests are running I will submit the more important (that affect dependant libraries) New compiler config header will follow tonight - although it is largely the same as for BCB6.
First up, is_enum:
Will be in cvs real soon now, John.
participants (2)
-
AlisdairM
-
John Maddock