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

algorithm, operation 全面修正

This commit is contained in:
bolero-MURAKAMI 2011-09-03 22:26:26 +09:00
parent 21f5d5191a
commit 5e67195030
244 changed files with 4764 additions and 831 deletions

View file

@ -15,7 +15,11 @@ namespace sprout {
//
template<typename Container, typename Input>
struct join_back {
typedef sprout::sub_array<typename sprout::fixed::result_of::join_back<Container, Input>::type> type;
typedef sprout::sub_array<
typename sprout::fixed_container_traits<
typename sprout::fixed::result_of::join_back<Container, Input>::type
>::internal_type
> type;
};
} // namespace result_of
@ -29,7 +33,7 @@ namespace sprout {
)
{
return sprout::sub_copy(
sprout::fixed::join_back(cont, input),
sprout::get_fixed(sprout::fixed::join_back(cont, input)),
sprout::fixed_begin_offset(cont),
sprout::fixed_end_offset(cont) + sprout::size(input)
);