1#ifndef OSMIUM_UTIL_MINMAX_HPP
2#define OSMIUM_UTIL_MINMAX_HPP
42 return std::numeric_limits<T>::max();
63 explicit min_op(T start_value = min_op_start_value<T>()) :
81 return std::numeric_limits<T>::min();
102 explicit max_op(T start_value = max_op_start_value<T>()) :
Definition: minmax.hpp:96
void update(T value) noexcept
Definition: minmax.hpp:106
T m_value
Definition: minmax.hpp:98
T operator()() const noexcept
Definition: minmax.hpp:112
max_op(T start_value=max_op_start_value< T >())
Definition: minmax.hpp:102
Definition: minmax.hpp:57
min_op(T start_value=min_op_start_value< T >())
Definition: minmax.hpp:63
T operator()() const noexcept
Definition: minmax.hpp:73
void update(T value) noexcept
Definition: minmax.hpp:67
T m_value
Definition: minmax.hpp:59
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
T max_op_start_value()
Definition: minmax.hpp:80
T min_op_start_value()
Definition: minmax.hpp:41