added mil udl

This commit is contained in:
Mike Ford
2020-06-24 10:50:11 +01:00
committed by Mateusz Pusz
parent 0f8e4cea3f
commit d551e089a9

View File

@ -60,6 +60,8 @@ inline namespace literals {
// Thousandth
constexpr auto operator"" q_thou(unsigned long long l) { return length<thousandth, std::int64_t>(l); }
constexpr auto operator"" q_thou(long double l) { return length<thousandth, long double>(l); }
constexpr auto operator"" q_mil(unsigned long long l) { return length<thousandth, std::int64_t>(l); }
constexpr auto operator"" q_mil(long double l) { return length<thousandth, long double>(l); }
// Inch