fix for constexpr disabled

add sprout::adaptors::sized
This commit is contained in:
bolero-MURAKAMI 2012-06-16 00:08:42 +09:00
parent 2b8a8662af
commit bcd7674cc0
84 changed files with 1758 additions and 1365 deletions

View file

@ -20,7 +20,7 @@ namespace testspr {
is_odd<int>(),
-1
);
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
replaced,
array<int, 10>{{-1, 0, -1, 0, -1, 0, -1, 0, -1, 0}}
));
@ -31,7 +31,7 @@ namespace testspr {
is_odd<int>(),
-1
);
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
replaced,
array<int, 10>{{-1, 0, -1, 0, -1, 0, -1, 0, -1, 0}}
));
@ -44,11 +44,11 @@ namespace testspr {
is_odd<int>(),
-1
);
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
replaced,
array<int, 6>{{-1, 0, -1, 0, -1, 0}}
));
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
sprout::get_internal(replaced),
array<int, 10>{{1, 0, -1, 0, -1, 0, -1, 0, 9, 0}}
));
@ -59,11 +59,11 @@ namespace testspr {
is_odd<int>(),
-1
);
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
replaced,
array<int, 6>{{-1, 0, -1, 0, -1, 0}}
));
TESTSPR_DOUBLE_ASSERT(testspr::equal(
TESTSPR_BOTH_ASSERT(testspr::equal(
sprout::get_internal(replaced),
array<int, 10>{{1, 0, -1, 0, -1, 0, -1, 0, 9, 0}}
));