units_linear_scale(3)
| units::linear_scale< T >(3) | Unit Conversion and Dimensional Analysis Library | units::linear_scale< T >(3) |
NAME
units::linear_scale< T > - unit_t scale which is linear
SYNOPSIS
#include <units.h>
Public Member Functions
constexpr linear_scale ()=default
default constructor. constexpr linear_scale (const linear_scale
&)=default
linear_scale & operator= (const linear_scale
&)=default
template<class... Args> constexpr linear_scale (const T
&value, Args &&...) noexcept
constructor. constexpr T operator() () const noexcept
returns value.
Public Attributes
T m_value
linearized value.
Detailed Description
template<typename T>
struct units::linear_scale< T >"unit_t scale which is linear
Represents units on a linear scale. This is the appropriate unit_t scale for almost all units almost all of the time.
Template Parameters
See also
Author
Generated automatically by Doxygen for Unit Conversion and Dimensional Analysis Library from the source code.
| Wed Mar 29 2023 | Version 2.3.0 |
