forked from boostorg/type_traits
Improved warning suppression for vc8
[SVN r31620]
This commit is contained in:
@ -60,16 +60,22 @@ public:
|
||||
template<> struct integral_constant<bool,true> : public mpl::true_
|
||||
{
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable:4097)
|
||||
typedef mpl::true_ base_;
|
||||
using base_::value;
|
||||
# pragma warning(pop)
|
||||
#endif
|
||||
typedef integral_constant<bool,true> type;
|
||||
};
|
||||
template<> struct integral_constant<bool,false> : public mpl::false_
|
||||
{
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable:4097)
|
||||
typedef mpl::false_ base_;
|
||||
using base_::value;
|
||||
# pragma warning(pop)
|
||||
#endif
|
||||
typedef integral_constant<bool,false> type;
|
||||
};
|
||||
|
@ -66,7 +66,7 @@ BOOST_TT_AUX_BOOL_TRAIT_PARTIAL_SPEC1_2(typename T,unsigned long N,is_reference,
|
||||
|
||||
#ifdef BOOST_MSVC
|
||||
# pragma warning(push)
|
||||
# pragma warning(disable: 4181)
|
||||
# pragma warning(disable: 4181 4097)
|
||||
#endif
|
||||
|
||||
namespace detail {
|
||||
|
Reference in New Issue
Block a user