Libosmium
2.16.0
Fast and flexible C++ library for working with OpenStreetMap data
|
Go to the documentation of this file. 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
iterator_range< It > make_range(P &&p) noexcept
Definition: iterator.hpp:68
It iterator
Definition: iterator.hpp:44
iterator_range(P &&p) noexcept
Definition: iterator.hpp:46
bool empty() const noexcept
Definition: iterator.hpp:58
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
Definition: iterator.hpp:42
It begin() const noexcept
Definition: iterator.hpp:50
It end() const noexcept
Definition: iterator.hpp:54