|
|
@@ -21,6 +21,10 @@ public:
|
|
|
T const & dereference() const { return value_; }
|
|
|
void increment() { ++value_; }
|
|
|
bool at_end() const { return value_ == bound_; }
|
|
|
+ // Some weird bug in dependent template instantiation???
|
|
|
+ bool equal_to(iota_iterator const & other) const {
|
|
|
+ return value_ == other.value_;
|
|
|
+ }
|
|
|
std::ptrdiff_t distance_to(iota_iterator const & other) const {
|
|
|
return other.value_ - value_;
|
|
|
}
|