|
|
@@ -22,7 +22,7 @@ public:
|
|
|
decltype(auto) dereference() const { return *impl_; }
|
|
|
void increment() { ++impl_; }
|
|
|
bool equal_to(Self const & other) const { return impl_ == other.impl_; }
|
|
|
- SFINAE(detail::has_sentinel_type_v<It>, bool) at_end() const {
|
|
|
+ SFINAE(detail::has_sentinel_type_v<It>) bool at_end() const {
|
|
|
return impl() == typename It::sentinel_type();
|
|
|
}
|
|
|
|
|
|
@@ -43,7 +43,7 @@ public:
|
|
|
decltype(auto) dereference() const { return *impl_; }
|
|
|
void increment() { ++impl_; }
|
|
|
bool equal_to(Self const & other) const { return impl_ == other.impl_; }
|
|
|
- SFINAE(detail::has_sentinel_type_v<It>, bool) at_end() const {
|
|
|
+ SFINAE(detail::has_sentinel_type_v<It>) bool at_end() const {
|
|
|
return impl() == typename It::sentinel_type();
|
|
|
}
|
|
|
|
|
|
@@ -65,7 +65,7 @@ public:
|
|
|
void increment() { ++impl_; }
|
|
|
void decrement() { --impl_; }
|
|
|
bool equal_to(Self const & other) const { return impl_ == other.impl_; }
|
|
|
- SFINAE(detail::has_sentinel_type_v<It>, bool) at_end() const {
|
|
|
+ SFINAE(detail::has_sentinel_type_v<It>) bool at_end() const {
|
|
|
return impl() == typename It::sentinel_type();
|
|
|
}
|
|
|
|
|
|
@@ -94,7 +94,7 @@ public:
|
|
|
difference_type distance_to(Self const & other) const {
|
|
|
return other.impl_ - impl_;
|
|
|
}
|
|
|
- SFINAE(detail::has_sentinel_type_v<It>, bool) at_end() const {
|
|
|
+ SFINAE(detail::has_sentinel_type_v<It>) bool at_end() const {
|
|
|
return impl() == typename It::sentinel_type();
|
|
|
}
|
|
|
|