mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
fix counting_iterator
This commit is contained in:
parent
ea22a6ba5c
commit
a9da4b2a1f
11 changed files with 141 additions and 89 deletions
|
@ -10,6 +10,7 @@
|
|||
#include <sprout/iterator.hpp>
|
||||
#include <sprout/iterator/value_iterator.hpp>
|
||||
#include <sprout/utility/forward.hpp>
|
||||
#include <sprout/array.hpp>
|
||||
|
||||
namespace sprout {
|
||||
//
|
||||
|
@ -210,6 +211,20 @@ namespace sprout {
|
|||
> type;
|
||||
};
|
||||
};
|
||||
|
||||
//
|
||||
// blank
|
||||
//
|
||||
struct blank {};
|
||||
|
||||
//
|
||||
// blank_pit
|
||||
//
|
||||
template<std::size_t N>
|
||||
inline SPROUT_CONSTEXPR sprout::pit<sprout::array<sprout::blank, N> >
|
||||
blank_pit() {
|
||||
return sprout::pit<sprout::array<sprout::blank, N> >();
|
||||
}
|
||||
} // namespace sprout
|
||||
|
||||
namespace std {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue