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

@ -63,10 +63,10 @@ namespace sprout {
public:
indexed_holder() = default;
indexed_holder(indexed_holder const&) = default;
SPROUT_CONSTEXPR indexed_holder(index_type index)
explicit SPROUT_CONSTEXPR indexed_holder(index_type index)
: index_(index)
{}
SPROUT_CONSTEXPR index_type index() const {
SPROUT_CONSTEXPR index_type const& index() const {
return index_;
}
};