1 #ifndef OSMIUM_INDEX_INDEX_HPP 2 #define OSMIUM_INDEX_INDEX_HPP 53 std::runtime_error(what) {
57 std::runtime_error(what) {
67 template <
typename TKey>
70 s <<
"id " << key <<
" not found";
93 return std::numeric_limits<size_t>::max();
100 #endif // OSMIUM_INDEX_INDEX_HPP not_found(const char *what)
Definition: index.hpp:56
#define OSMIUM_NORETURN
Definition: compatibility.hpp:41
Definition: reader_iterator.hpp:39
constexpr size_t empty_value< size_t >()
Definition: index.hpp:92
Namespace for everything in the Osmium library.
Definition: assembler.hpp:59
OSMIUM_NORETURN void not_found_error(TKey key)
Definition: index.hpp:68
not_found(const std::string &what)
Definition: index.hpp:52
constexpr T empty_value()
Definition: index.hpp:82