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

add adaptor steps

This commit is contained in:
bolero-MURAKAMI 2012-11-24 22:46:23 +09:00
parent 05f75bef27
commit 597d05563b
9 changed files with 455 additions and 15 deletions

View file

@ -33,10 +33,11 @@ namespace sprout {
iterator last_;
public:
// construct/copy/destroy:
range_container() = default;
SPROUT_CONSTEXPR range_container(iterator first, iterator last)
: first_(first)
, last_(last)
SPROUT_CONSTEXPR range_container()
: first_(), last_()
{}
SPROUT_CONSTEXPR range_container(iterator const& first, iterator const& last)
: first_(first), last_(last)
{}
template<typename Iterator2>