mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
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]
This commit is contained in:
parent
e55610a0d0
commit
c730ab4ffb
@ -9,8 +9,9 @@
|
|||||||
#ifndef BOOST_UTILITY_VALUE_INIT_21AGO2002_HPP
|
#ifndef BOOST_UTILITY_VALUE_INIT_21AGO2002_HPP
|
||||||
#define BOOST_UTILITY_VALUE_INIT_21AGO2002_HPP
|
#define BOOST_UTILITY_VALUE_INIT_21AGO2002_HPP
|
||||||
|
|
||||||
#include "boost/detail/select_type.hpp"
|
#include <boost/detail/select_type.hpp>
|
||||||
#include "boost/type_traits/cv_traits.hpp"
|
#include <boost/type_traits/cv_traits.hpp>
|
||||||
|
#include <boost/detail/workaround.hpp>
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
|
|
||||||
@ -39,7 +40,10 @@ struct non_const_T_base
|
|||||||
template<class T>
|
template<class T>
|
||||||
struct select_base
|
struct select_base
|
||||||
{
|
{
|
||||||
typedef typename
|
typedef
|
||||||
|
#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
|
||||||
|
typename
|
||||||
|
#endif
|
||||||
::boost::detail::if_true< ::boost::is_const<T>::value >
|
::boost::detail::if_true< ::boost::is_const<T>::value >
|
||||||
::template then< const_T_base<T>, non_const_T_base<T> >::type type ;
|
::template then< const_T_base<T>, non_const_T_base<T> >::type type ;
|
||||||
} ;
|
} ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user