forked from boostorg/iterator
merged from trunk
[SVN r21516]
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
# define STATIC_ASSERT_SAME_DWA2003530_HPP
|
||||
|
||||
# include <boost/type.hpp>
|
||||
# include <boost/static_assert.hpp>
|
||||
|
||||
#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
|
||||
template <class T, class U>
|
||||
@@ -32,4 +33,8 @@ struct static_assert_same
|
||||
{};
|
||||
#endif
|
||||
|
||||
#define STATIC_ASSERT_SAME( T1,T2 ) \
|
||||
enum { BOOST_JOIN(boost_static_assert_enum_, __LINE__) \
|
||||
= static_assert_same<T1,T2>::value }
|
||||
|
||||
#endif // STATIC_ASSERT_SAME_DWA2003530_HPP
|
||||
|
||||
Reference in New Issue
Block a user