tfel
Loading...
Searching...
No Matches
tfel::math::unit::UnitRebind< e > Struct Template Reference

UnitRebind is a way to simply rebind some unit types from the unit exponents. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Math/Forward/Unit.hxx>

Public Types

using type

Detailed Description

template<UnitExponents e>
requires (isValid(e))
struct tfel::math::unit::UnitRebind< e >

UnitRebind is a way to simply rebind some unit types from the unit exponents.

Member Typedef Documentation

◆ type

template<UnitExponents e>
using tfel::math::unit::UnitRebind< e >::type
Initial value:
std::conditional_t<areAllDenominatorsOne(e),
StandardUnit<e.exponents[0].numerator,
e.exponents[1].numerator,
e.exponents[2].numerator,
e.exponents[3].numerator,
e.exponents[4].numerator,
e.exponents[5].numerator,
e.exponents[6].numerator>,
Unit<e.exponents[0].numerator,
e.exponents[1].numerator,
e.exponents[2].numerator,
e.exponents[3].numerator,
e.exponents[4].numerator,
e.exponents[5].numerator,
e.exponents[6].numerator,
e.exponents[0].denominator,
e.exponents[1].denominator,
e.exponents[2].denominator,
e.exponents[3].denominator,
e.exponents[4].denominator,
e.exponents[5].denominator,
e.exponents[6].denominator>>
Definition Forward/Unit.hxx:128
Definition Forward/Unit.hxx:119

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