1
0
Fork 0
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:
bolero-MURAKAMI 2013-01-03 17:01:50 +09:00
parent 28697ee7a8
commit 5019f6aa96
162 changed files with 3600 additions and 1659 deletions

View file

@ -7,7 +7,7 @@
#include <sprout/array.hpp>
#include <sprout/tuple/tuple.hpp>
#include HDR_ALGORITHM_SSCRISK_CEL_OR_SPROUT
#include HDR_ITERATOR_SSCRISK_CEL_OR_SPROUT
#include <sprout/iterator/operation.hpp>
namespace sprout {
namespace weed {
@ -99,7 +99,7 @@ namespace sprout {
template<typename IntType, typename Elem>
inline SPROUT_CONSTEXPR sprout::tuples::tuple<IntType, bool> from_odigit(Elem c) {
return sprout::weed::detail::ovalue_at<IntType>(
NS_SSCRISK_CEL_OR_SPROUT::distance(
sprout::distance(
sprout::weed::detail::odigits<Elem>::table.begin(),
NS_SSCRISK_CEL_OR_SPROUT::find(
sprout::weed::detail::odigits<Elem>::table.begin(),