1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

[desuructive changes] container traits new interface [破壊的変更]

This commit is contained in:
bolero-MURAKAMI 2012-03-31 16:24:13 +09:00
parent 52a2178ac1
commit ad60c8c530
356 changed files with 3183 additions and 3251 deletions

View file

@ -4,7 +4,7 @@
#include <sprout/algorithm/swap_element.hpp>
#include <sprout/array.hpp>
#include <sprout/sub_array.hpp>
#include <sprout/fixed_container.hpp>
#include <sprout/container.hpp>
#include <testspr/tools.hpp>
namespace testspr {
@ -49,7 +49,7 @@ namespace testspr {
array<int, 6>{{8, 4, 5, 6, 7, 3}}
));
TESTSPR_DOUBLE_ASSERT(testspr::equal(
sprout::get_fixed(swapped),
sprout::get_internal(swapped),
array<int, 10>{{1, 2, 8, 4, 5, 6, 7, 3, 9, 10}}
));
}
@ -64,7 +64,7 @@ namespace testspr {
array<int, 6>{{8, 4, 5, 6, 7, 3}}
));
TESTSPR_DOUBLE_ASSERT(testspr::equal(
sprout::get_fixed(swapped),
sprout::get_internal(swapped),
array<int, 10>{{1, 2, 8, 4, 5, 6, 7, 3, 9, 10}}
));
}