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

destructive change sprout::generate -> sprout::unfold

add range adapter reversed, replaced, filtered
This commit is contained in:
bolero-MURAKAMI 2012-09-21 15:43:30 +09:00
parent 6b3f7ad894
commit 73ead93fe5
60 changed files with 3840 additions and 318 deletions

View file

@ -9,7 +9,7 @@
namespace sprout {
template<typename Container>
inline SPROUT_CONSTEXPR std::size_t hash_value(sprout::pit<Container> const& v) {
return sprout::hash_range(v.begin(), v.end());
return sprout::to_hash(v.elem);
}
} // namespace sprout

View file

@ -6,7 +6,8 @@
#include <sprout/config.hpp>
#include <sprout/container/traits.hpp>
#include <sprout/container/functions.hpp>
#include <sprout/iterator.hpp>
#include <sprout/iterator/operation.hpp>
#include <sprout/iterator/reverse_iterator.hpp>
#include <sprout/iterator/value_iterator.hpp>
namespace sprout {