Revert "Merge pull request #11 from Lastique/modularization"

This reverts commit a9a1eddba8, reversing
changes made to d6bc9845ba.
This commit is contained in:
K. Noel Belcourt
2014-09-19 18:55:00 -06:00
parent a30e4a49a8
commit 6a0f617a6c
429 changed files with 248 additions and 314 deletions
+3 -4
View File
@@ -13,20 +13,19 @@
#include <boost/mpl/at.hpp>
#include <boost/mpl/vector/vector10_c.hpp>
#include <boost/type_traits/is_same.hpp>
#include "test.hpp"
#include <boost/mpl/aux_/test.hpp>
template< typename Seq, int n > struct at_test
{
typedef typename at_c<Seq,n>::type t;
MPL_ASSERT(( boost::is_same< t, integral_c<int,9-n> > ));
MPL_ASSERT(( is_same< t, integral_c<int,9-n> > ));
MPL_ASSERT_RELATION( t::value, ==, 9 - n );
};
MPL_TEST_CASE()
{
typedef vector10_c<int,9,8,7,6,5,4,3,2,1,0> numbers;
at_test< numbers, 0 >();
at_test< numbers, 1 >();
at_test< numbers, 2 >();