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.
Classes | Namespaces | Functions
unit_cast.h File Reference
#include "detail.h"
#include <ratio>
#include <type_traits>
Include dependency graph for unit_cast.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SI::detail::unit_with_common_ratio< _unit_lhs, _unit_rhs >
 

Namespaces

 SI
 
 SI::detail
 Namespace containing implementation details for SI.
 

Functions

template<typename _target_type , typename _rhs_T >
constexpr auto SI::detail::unit_cast (const _rhs_T &rhs)
 function to cast between two units of the same type More...