easylocal::cost::arithmetic
An arithmetic cost: a signed integral or floating-point type other than bool.
Synopsis
Declared in <easylocal/cost/concepts.hpp>
template<class Cost>
concept arithmetic = easylocal::detail::number<Cost> && !detail::unsigned_cost_v<Cost>;
Description
Unsigned integers are not costs: their differences wrap around.