|
@@ -144,13 +144,6 @@ namespace iterator { namespace detail {
|
|
|
recursive_iterator_layer(recursive_iterator_layer<OIter, Rec> const & other)
|
|
recursive_iterator_layer(recursive_iterator_layer<OIter, Rec> const & other)
|
|
|
: layer(static_cast<recursive_iterator_base<OIter> const &>(other)),
|
|
: layer(static_cast<recursive_iterator_base<OIter> const &>(other)),
|
|
|
super(static_cast<Rec const &>(other)) {}
|
|
super(static_cast<Rec const &>(other)) {}
|
|
|
- // template <typename OIter, typename... Iterators>
|
|
|
|
|
- // recursive_iterator_layer(in_place_t, OIter && it, Iterators &&...
|
|
|
|
|
- // iter)
|
|
|
|
|
- // : layer(std::forward<OIter>(it)),
|
|
|
|
|
- // super(in_place, std::forward<Iterators>(iter)...) {
|
|
|
|
|
- // update();
|
|
|
|
|
- // }
|
|
|
|
|
|
|
|
|
|
reference operator*() const { return super::get(); }
|
|
reference operator*() const { return super::get(); }
|
|
|
|
|
|
|
@@ -250,12 +243,6 @@ namespace iterator { namespace detail {
|
|
|
flatten_iterator_layer(flatten_iterator_layer<OIter, Rec> const & other)
|
|
flatten_iterator_layer(flatten_iterator_layer<OIter, Rec> const & other)
|
|
|
: layer(static_cast<recursive_iterator_base<OIter> const &>(other)),
|
|
: layer(static_cast<recursive_iterator_base<OIter> const &>(other)),
|
|
|
super(static_cast<Rec const &>(other)) {}
|
|
super(static_cast<Rec const &>(other)) {}
|
|
|
- // template <typename OIter, typename... Iterators>
|
|
|
|
|
- // flatten_iterator_layer(in_place_t, OIter && it, Iterators &&... iter)
|
|
|
|
|
- // : layer(std::forward<OIter>(it)),
|
|
|
|
|
- // super(in_place, std::forward<Iterators>(iter)...) {
|
|
|
|
|
- // update();
|
|
|
|
|
- // }
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* @brief Concatenate the key in this layer, with the dereferenced data from
|
|
* @brief Concatenate the key in this layer, with the dereferenced data from
|
|
@@ -336,9 +323,6 @@ namespace iterator {
|
|
|
public:
|
|
public:
|
|
|
using super::super;
|
|
using super::super;
|
|
|
recursive_iterator() = default;
|
|
recursive_iterator() = default;
|
|
|
- // template <typename... Iterators>
|
|
|
|
|
- // recursive_iterator(in_place_t, Iterators &&... iter)
|
|
|
|
|
- // : super(in_place, std::forward<Iterators>(iter)...) {}
|
|
|
|
|
|
|
|
|
|
recursive_iterator & operator++() {
|
|
recursive_iterator & operator++() {
|
|
|
(void)super::next();
|
|
(void)super::next();
|
|
@@ -383,9 +367,6 @@ namespace iterator {
|
|
|
public:
|
|
public:
|
|
|
using super::super;
|
|
using super::super;
|
|
|
recursive_iterator_n() = default;
|
|
recursive_iterator_n() = default;
|
|
|
- // template <typename... Iterators>
|
|
|
|
|
- // recursive_iterator_n(in_place_t, Iterators &&... iter)
|
|
|
|
|
- // : super(in_place, std::forward<Iterators>(iter)...) {}
|
|
|
|
|
|
|
|
|
|
recursive_iterator_n & operator++() {
|
|
recursive_iterator_n & operator++() {
|
|
|
(void)super::next();
|
|
(void)super::next();
|