Unit Conversion and Dimensional Analysis Library 3.6.1
A compile-time, header-only C++23 dimensional-analysis library
Loading...
Searching...
No Matches
Constructors

Defines the constructors of the unit container type. More...

Functions

constexpr units::unit< ConversionFactor, T, NumericalScale >::unit ()=default
 < Type of conversion_factor the unit represents (e.g. meters)
constexpr units::unit< ConversionFactor, T, NumericalScale >::unit (const unit &)=default
 default copy constructor.

Detailed Description

Defines the constructors of the unit container type.

Function Documentation

◆ unit()

template<ConversionFactorType ConversionFactor, ArithmeticType T = double, NumericalScaleType< T > NumericalScale = linear_scale>
units::unit< ConversionFactor, T, NumericalScale >::unit ( )
constexprdefault

< Type of conversion_factor the unit represents (e.g. meters)

default constructor.