Unit Conversion and Dimensional Analysis Library  2.3.0
A compile-time c++14 unit conversion library
Public Member Functions | Public Attributes | List of all members
units::linear_scale< T > Struct Template Reference

unit_t scale which is linear More...

#include <units.h>

Public Member Functions

constexpr linear_scale ()=default
 default constructor.

 
constexpr linear_scale (const linear_scale &)=default
 
linear_scaleoperator= (const linear_scale &)=default
 

Public Attributes

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
Tunderlying storage type
See also
unit_t

The documentation for this struct was generated from the following file: