Brick
Loading...
Searching...
No Matches
units::KinematicQuantity Concept Reference

#include <units.h>

Description

Only allows nonzero length, time, angle for the next two functions.

Concept definition

template<typename Q>
concept KinematicQuantity = IsQuantity<Q> && std::ratio_equal_v<typename Q::mass, std::ratio<0>> &&
std::ratio_equal_v<typename Q::current, std::ratio<0>> &&
std::ratio_equal_v<typename Q::temperature, std::ratio<0>> &&
std::ratio_equal_v<typename Q::luminosity, std::ratio<0>> &&
std::ratio_equal_v<typename Q::moles, std::ratio<0>>
Used to require a Quantity be passed in a template (instead of typename Q).
Definition units.h:176
Only allows nonzero length, time, angle for the next two functions.
Definition units.h:961