fixing the issue for empty_sequence's as well

This commit is contained in:
Bruno Dutra
2015-03-21 22:04:52 -03:00
parent c8fe35643d
commit eaa3f26c9c
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -17,6 +17,7 @@
#include <boost/mpl/distance.hpp>
#include <boost/mpl/advance.hpp>
#include <boost/mpl/begin_end.hpp>
#include <boost/mpl/equal.hpp>
#include <boost/mpl/aux_/test.hpp>
#include <boost/type_traits/is_same.hpp>
@@ -33,4 +34,6 @@ MPL_TEST_CASE()
typedef advance_c<begin,0>::type advanced;
MPL_ASSERT(( is_same<advanced,end> ));
MPL_ASSERT(( equal< empty_sequence, empty_sequence::type > ));
}