TypeSI
Units of 'Système international' Blended for C++
Loading...
Searching...
No Matches
si_special.hpp
Go to the documentation of this file.
1#pragma once
4#include "si_base.hpp"
5#include "si_prefix.hpp"
6namespace Si {
7namespace Special {
13template <typename T> struct Gram {
14 template <typename Ratio>
15 using type =
17}; // namespace Special
18} // namespace Special
19} // namespace Si
Generic unit type.
Definition: si_internal.hpp:22
Base SI units.
Prefixes for SI units.
decltype(Internal::applyPrefix< Ratio, Unit >()) Prefix
Public interface to apply prefix to unit.
Definition: si_prefix.hpp:177
Template for applying prefix to gram rather than kilogram. Applying to latter involve some ambiguity ...
Definition: si_special.hpp:13