Revert "Merge pull request #11 from Lastique/modularization"
This reverts commita9a1eddba8, reversing changes made tod6bc9845ba.
This commit is contained in:
1 parent
a30e4a49a8
commit
6a0f617a6c
429 files changed
+248
-314
No files matched your search
+3
-4
@@ -12,8 +12,7 @@
|
||||
// $Revision$
|
||||
|
||||
#include <boost/mpl/inherit.hpp>
|
||||
#include <boost/type_traits/is_same.hpp>
|
||||
#include "test.hpp"
|
||||
#include <boost/mpl/aux_/test.hpp>
|
||||
|
||||
struct her { typedef her herself; };
|
||||
struct my { typedef my myself; };
|
||||
@@ -25,10 +24,10 @@ MPL_TEST_CASE()
|
||||
typedef inherit<her,my>::type her_my1;
|
||||
MPL_ASSERT(( is_same<her_my1::herself, her> ));
|
||||
MPL_ASSERT(( is_same<her_my1::myself, my> ));
|
||||
|
||||
|
||||
typedef inherit<empty_base,her>::type her1;
|
||||
MPL_ASSERT(( is_same<her1, her> ));
|
||||
|
||||
|
||||
typedef inherit<empty_base,her,empty_base,empty_base>::type her2;
|
||||
MPL_ASSERT(( is_same<her2, her> ));
|
||||
|
||||
|
||||
Reference in new issue
Block a user