mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2025-08-03 12:49:50 +00:00
fix recursion depth O(logN): some algorithms
This commit is contained in:
parent
28697ee7a8
commit
5019f6aa96
162 changed files with 3600 additions and 1659 deletions
|
@ -6,7 +6,6 @@
|
|||
#include <sprout/container/traits.hpp>
|
||||
#include <sprout/container/functions.hpp>
|
||||
#include <sprout/iterator/operation.hpp>
|
||||
#include HDR_ITERATOR_SSCRISK_CEL_OR_SPROUT
|
||||
|
||||
namespace sprout {
|
||||
namespace fixed {
|
||||
|
@ -51,7 +50,7 @@ namespace sprout {
|
|||
0,
|
||||
sprout::container_traits<typename sprout::fixed::result_of::set<Container, T>::type>::static_size
|
||||
>::make(),
|
||||
NS_SSCRISK_CEL_OR_SPROUT::distance(sprout::internal_begin(cont), pos),
|
||||
sprout::distance(sprout::internal_begin(cont), pos),
|
||||
v
|
||||
);
|
||||
}
|
||||
|
@ -64,7 +63,7 @@ namespace sprout {
|
|||
0,
|
||||
sprout::container_traits<typename sprout::fixed::result_of::set<Container, T>::type>::static_size
|
||||
>::make(),
|
||||
NS_SSCRISK_CEL_OR_SPROUT::distance(sprout::internal_begin(cont), sprout::next(sprout::begin(cont), pos)),
|
||||
sprout::distance(sprout::internal_begin(cont), sprout::next(sprout::begin(cont), pos)),
|
||||
v
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue