Better error messages on failure

[SVN r20894]
This commit is contained in:
Dave Abrahams
2003-11-20 21:41:33 +00:00
parent 7cbe926f29
commit 640379ac34

View File

@ -10,13 +10,17 @@
#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
template <class T, class U>
struct static_assert_same;
struct static_assert_same_base;
template <class T>
struct static_assert_same<T,T>
struct static_assert_same_base<T,T>
{
enum { value = 1 };
};
template <class T, class U>
struct static_assert_same : static_assert_same_base<T,U> {};
#else
# include <boost/mpl/if.hpp>
# include <boost/mpl/bool.hpp>