fix io fromat from int

add range::sinusoidal
fix algorithm random_access_iterator parformance
This commit is contained in:
bolero-MURAKAMI 2012-04-30 19:41:24 +09:00
parent 3ff16b4054
commit cb830f141d
14 changed files with 438 additions and 12 deletions

View file

@ -32,8 +32,8 @@ namespace sprout {
sprout::size(result),
(Indexes >= offset && Indexes < offset + size && Indexes < offset + input_size
? (Indexes < offset + NS_SSCRISK_CEL_OR_SPROUT::distance(middle, last)
? *sprout::next(middle, Indexes - offset)
: *sprout::prev(sprout::next(first, Indexes - offset), NS_SSCRISK_CEL_OR_SPROUT::distance(first, middle))
? middle[Indexes - offset]
: first[(Indexes - offset) - NS_SSCRISK_CEL_OR_SPROUT::distance(first, middle)]
)
: *sprout::next(sprout::internal_begin(result), Indexes)
)...