MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches

Concept to check that a type is a unit. More...

#include <base.hpp>

Concept definition

template<typename T>
concept mtcore::units::IsUnit = std::same_as<T, Unit<T::Id, typename T::Scale, T::PiPower, typename T::Translation, T::EXPONENT>>
Concept to check that a type is a unit.

Detailed Description

Concept to check that a type is a unit.

Definition at line 70 of file units/base.hpp.