// Copyright David Abrahams 2003. Permission to copy, use, // modify, sell and distribute this software is granted provided this // copyright notice appears in all copies. This software is provided // "as is" without express or implied warranty, and with no claim as // to its suitability for any purpose. #ifndef STATIC_ASSERT_SAME_DWA2003530_HPP # define STATIC_ASSERT_SAME_DWA2003530_HPP # include #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION template struct static_assert_same_base; template struct static_assert_same_base { enum { value = 1 }; }; template struct static_assert_same : static_assert_same_base {}; #else # include # include # include template struct static_assert_same : boost::mpl::if_,boost::mpl::true_,void>::type {}; #endif #endif // STATIC_ASSERT_SAME_DWA2003530_HPP