1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

add algorithm one_of, all_of_equal, any_of_equal, none_of_equal, one_of_equal, is_increasing, is_decreasing, is_strictly_increasing, is_strictly_decreasing

This commit is contained in:
bolero-MURAKAMI 2012-10-13 12:49:23 +09:00
parent 1ef528d204
commit de41f5c880
22 changed files with 425 additions and 3 deletions

View file

@ -395,7 +395,7 @@ namespace sprout {
}
SPROUT_CONSTEXPR std::size_t
do_count() const SPROUT_NOEXCEPT {
return NS_SSCRISK_CEL_OR_SPROUT::accumulate(begin(), end(),static_cast<std::size_t>(0), count_op());
return NS_SSCRISK_CEL_OR_SPROUT::accumulate(begin(), end(), static_cast<std::size_t>(0), count_op());
}
SPROUT_CONSTEXPR unsigned long
@ -1046,7 +1046,7 @@ namespace sprout {
}
template<typename Char, typename Traits, typename Alloc>
void
copy_to_string(std::basic_string<Char, Traits,Alloc>& s) const {
copy_to_string(std::basic_string<Char, Traits, Alloc>& s) const {
copy_to_string(s, Char('0'), Char('1'));
}