std::vector<value_type_t> toVector() { std::vector<value_type_t> v; while (range_.ok()) { typename TRange::iter_t i = range_.take(); if (i != range_.end()) v.push_back(*i); } return v; }
T to() { T t; while (range_.ok()) { typename TRange::iter_t i = range_.take(); if (i != range_.end()) t.push_back(*i); } return t; }
IndType add(const TRange& neigs) { return add(neigs.begin(), neigs.end()); }