1 #ifndef OSMIUM_UTIL_ITERATOR_HPP 2 #define OSMIUM_UTIL_ITERATOR_HPP 36 #include <type_traits> 41 template <
typename It,
typename P = std::pair<It, It>>
47 P(std::forward<P>(p)) {
54 It
end() const noexcept {
67 template <
typename P,
typename It =
typename P::first_type>
74 #endif // OSMIUM_UTIL_ITERATOR_HPP Definition: iterator.hpp:42
bool empty() const noexcept
Definition: iterator.hpp:58
iterator_range< It > make_range(P &&p) noexcept
Definition: iterator.hpp:68
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
It end() const noexcept
Definition: iterator.hpp:54
iterator_range(P &&p) noexcept
Definition: iterator.hpp:46
It begin() const noexcept
Definition: iterator.hpp:50
It iterator
Definition: iterator.hpp:44