Quantify
An extensible C++ units library
Loading...
Searching...
No Matches
quantify::ratio< T, Num, Den > Struct Template Referenceexport

Static representation of a numerical ratio in the form of a fraction. More...

Static Public Attributes

static constexpr T numerator = Num
 
static constexpr T denominator = Den
 

Detailed Description

template<typename T, auto Num, auto Den>
struct quantify::ratio< T, Num, Den >

Static representation of a numerical ratio in the form of a fraction.

Template Parameters
TType used to represent the numerator and the denominator
NumNumerator quantity
DenDenominator quantity

Definition at line 26 of file ratio.cppm.


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