Unit Conversion and Dimensional Analysis Library 3.6.1
A compile-time, header-only C++23 dimensional-analysis library
Loading...
Searching...
No Matches
units::traits::replace_underlying< class, class > Struct Template Reference

SFINAE-able trait which replaces the underlying type of Unit with Underlying. More...

#include <core.h>

Detailed Description

template<class, class>
struct units::traits::replace_underlying< class, class >

SFINAE-able trait which replaces the underlying type of Unit with Underlying.

If Unit is an unit, the member type alias names the same unit with an underlying type of Underlying. Otherwise, there is no type member.

Parameters
UnitThe unit type whose underlying type is to be replaced.
UnderlyingThe underlying type to replace that of Unit.

The documentation for this struct was generated from the following file:
  • /home/runner/work/units/units/include/units/core.h