rll/euclid/velocity.h file

Namespaces

namespace rll
Contract-programming related functions and classes.

Classes

template <typename T, typename = std::enable_if_t<is_num_v<T>>>
struct rll::velocity
Newtype describing a velocity.
template <typename T>
struct fmt::formatter<rll::velocity<T>>
Specialization of the fmt::formatter for the rll::velocity class.

Enums

enum class velocity_unit: char { kmph = 0, mps = 1, kilometers_per_hour = kmph, meters_per_second = mps }
Measurement unit.