A conversion class.
More...
#include <base.h>
template<arithmetic_c T, enumeration_c unit_t>
class qx::convert< T, unit_t >
A conversion class.
float result =
qx::convert(value, qx::units::unit_type::type1).to(qx::units::unit_type::type2);
qx::unit result =
qx::convert(value, qx::units::unit_type::type1).to(qx::units::unit_type::type2);
- Template Parameters
-
T | - floating point or integral value type |
unit_t | - unit type enum |
- Author
- Khrapov
- Date
- 13.08.2025
Definition at line 62 of file base.h.
The documentation for this class was generated from the following file: