mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-16 15:14:13 +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,7 @@
|
|||
#include <sprout/config.hpp>
|
||||
#include <sprout/iterator/ptr_index_iterator.hpp>
|
||||
#include <sprout/range/range_container.hpp>
|
||||
#include HDR_ITERATOR_SSCRISK_CEL_OR_SPROUT
|
||||
#include <sprout/iterator/operation.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace range {
|
||||
|
@ -27,7 +27,7 @@ namespace sprout {
|
|||
make_ptr_range(T* first, T* last) {
|
||||
return sprout::range::range_container<sprout::ptr_index_iterator<T> >(
|
||||
sprout::ptr_index_iterator<T>(first),
|
||||
sprout::ptr_index_iterator<T>(first, NS_SSCRISK_CEL_OR_SPROUT::distance(first, last))
|
||||
sprout::ptr_index_iterator<T>(first, sprout::distance(first, last))
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue