3 #ifndef BITCOIN_REVERSE_ITERATOR_HPP 4 #define BITCOIN_REVERSE_ITERATOR_HPP 20 auto begin() const -> decltype(this->x.rbegin()) {
return x.rbegin(); }
22 auto end() const -> decltype(this->x.rend()) {
return x.rend(); }
29 #endif // BITCOIN_REVERSE_ITERATOR_HPP Template used for reverse iteration in C++11 range-based for loops.
reverse_range< T > reverse_iterate(T &x)
auto begin() const -> decltype(this->x.rbegin())
auto end() const -> decltype(this->x.rend())