19#ifndef MTCORE_UNITS_TIME_HPP
20#define MTCORE_UNITS_TIME_HPP
64 static_assert(1. *
time::second + 1. *
time::second == 2 *
time::second);
72 impl::GetUnit<
dimensions::TIME,
Units<impl::FlipUnit<decltype(
time::millisecond)::Head>::T>>::exponent == -1);
73 static_assert(impl::GetUnit<
dimensions::TIME, decltype(
length::decimeter /
time::millisecond)>::exponent == -1);
74 static_assert(impl::GetUnit<
dimensions::LENGTH, decltype(
length::decimeter /
time::millisecond)>::exponent == 1);
Represents prebuilt dimensions for units.
constexpr auto attosecond
constexpr auto picosecond
constexpr auto millisecond
constexpr auto terasecond
constexpr auto microsecond
constexpr auto quarantine
constexpr auto petasecond
constexpr auto gigasecond
constexpr auto femtosecond
constexpr auto hectosecond
constexpr auto nanosecond
constexpr auto megasecond
constexpr auto kilosecond
constexpr auto decisecond
constexpr auto centisecond
constexpr auto decasecond
Base namespace for units.
MTCORE_DEF_UNIT_NAME_NO_ABBREV(length, twip)
MTCORE_DEF_UNIT_NAME_DIFF_US(length, attometre, attometer, am)
MTCORE_DEF_UNIT_NAME(length, thou, th)
#define MTCORE_DEF_UNIT_NAME_SI(NS, UNIT, US_NAME, ABBREV)