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 {
|
||||
|
@ -59,7 +58,7 @@ namespace sprout {
|
|||
0,
|
||||
sprout::container_traits<typename sprout::fixed::result_of::erase<Container>::type>::static_size
|
||||
>::make(),
|
||||
NS_SSCRISK_CEL_OR_SPROUT::distance(sprout::internal_begin(cont), pos)
|
||||
sprout::distance(sprout::internal_begin(cont), pos)
|
||||
);
|
||||
}
|
||||
//
|
||||
|
@ -74,7 +73,7 @@ namespace sprout {
|
|||
0,
|
||||
sprout::container_traits<typename sprout::fixed::result_of::erase<Container>::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))
|
||||
);
|
||||
}
|
||||
} // namespace fixed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue