SI
2.5.4
A header only c++ library that provides type safety and user defined literals for handling physical values defined in the International System of Units.
|
#include "detail.h"
#include "eps_equal.h"
#include "unit_cast.h"
#include <ratio>
#include <type_traits>
Go to the source code of this file.
Classes | |
struct | SI::detail::unit_t< _symbol, _exponent, _type, _ratio > |
base template class for holding values of type _type to be multiplied with a ratio _ratio More... | |
Namespaces | |
SI | |
SI::detail | |
Namespace containing implementation details for SI. | |
Macros | |
#define | SI_ENABLE_IMPLICIT_RATIO_CONVERSION true |
Functions | |
template<typename _type , char _symbol, typename _exponent , typename _rhs_type , typename _ratio , std::enable_if_t< std::is_integral_v< _type >> * = nullptr> | |
constexpr auto | SI::detail::operator/ (const _type &lhs, const unit_t< _symbol, _exponent, _rhs_type, _ratio > &rhs) |
#define SI_ENABLE_IMPLICIT_RATIO_CONVERSION true |
This file is part of "SI" version 2.5.4 A header only c++ library that provides type safety and user defined literals for handling physical values defined in the International System of Units
https://github.com/bernedom/SI
SPDX-License-Identifier: MIT