Fixed tests compilation.

This commit is contained in:
Andrey Semashev
2014-08-31 14:09:10 +04:00
parent 64f50f82aa
commit 9bbc806090
35 changed files with 59 additions and 44 deletions
+2 -1
View File
@@ -14,11 +14,12 @@
#include <boost/mpl/at.hpp>
#include <boost/mpl/vector/vector10_c.hpp>
#include <boost/mpl/aux_/test.hpp>
#include <boost/type_traits/is_same.hpp>
template< typename Seq, int n > struct at_test
{
typedef typename at_c<Seq,n>::type t;
MPL_ASSERT(( is_same< t, integral_c<int,9-n> > ));
MPL_ASSERT(( boost::is_same< t, integral_c<int,9-n> > ));
MPL_ASSERT_RELATION( t::value, ==, 9 - n );
};