From c730ab4ffb2b465c7bd288b4768d8752b7c48aa5 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 13 Sep 2006 03:00:18 +0000 Subject: [PATCH] Parameter library Workarounds for Borland and MSVC Parameter library explicit markup for expected failures value_init.hpp: Borland workarounds Use angle-includes consistently [SVN r35084] --- include/boost/utility/value_init.hpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/boost/utility/value_init.hpp b/include/boost/utility/value_init.hpp index 5591b9b..65600e5 100644 --- a/include/boost/utility/value_init.hpp +++ b/include/boost/utility/value_init.hpp @@ -9,8 +9,9 @@ #ifndef BOOST_UTILITY_VALUE_INIT_21AGO2002_HPP #define BOOST_UTILITY_VALUE_INIT_21AGO2002_HPP -#include "boost/detail/select_type.hpp" -#include "boost/type_traits/cv_traits.hpp" +#include +#include +#include namespace boost { @@ -39,7 +40,10 @@ struct non_const_T_base template struct select_base { - typedef typename + typedef +#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564)) + typename +#endif ::boost::detail::if_true< ::boost::is_const::value > ::template then< const_T_base, non_const_T_base >::type type ; } ;