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 -5
View File
@@ -18,11 +18,9 @@
#include <boost/mpl/next.hpp>
#include <boost/mpl/bool.hpp>
#include <boost/mpl/apply_wrap.hpp>
#include <boost/mpl/aux_/test.hpp>
#include <boost/type_traits/is_float.hpp>
#include <boost/type_traits/is_same.hpp>
#include "test.hpp"
namespace {
@@ -51,7 +49,7 @@ MPL_TEST_CASE() // basic argument binding
typedef apply_wrap5< bind1<f1,_5>, void,void,void,void,int >::type r12;
MPL_ASSERT(( boost::is_same<r11,int> ));
MPL_ASSERT(( boost::is_same<r12,int> ));
typedef apply_wrap5< bind5<f5,_1,_2,_3,_4,_5>, void,void,void,void,int >::type r51;
typedef apply_wrap5< bind5<f5,_5,_4,_3,_2,_1>, int,void,void,void,void >::type r52;
MPL_ASSERT(( boost::is_same<r51,int> ));
@@ -84,7 +82,7 @@ MPL_TEST_CASE() // if_ evaluation
typedef bind3< quote3<if_>, _1, bind1< quote1<next>, _2>, _3 > f;
typedef apply_wrap3< f,true_,int_<0>,int >::type r1;
typedef apply_wrap3< f,false_,int,int_<0> >::type r2;
MPL_ASSERT(( boost::is_same<r1,int_<1> > ));
MPL_ASSERT(( boost::is_same<r2,int_<0> > ));
}