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::is_unit< T > Struct Template Reference

Traits which tests if a class is a unit. More...

#include <core.h>

Inheritance diagram for units::traits::is_unit< T >:
[legend]
Collaboration diagram for units::traits::is_unit< T >:
[legend]

Detailed Description

template<class T>
struct units::traits::is_unit< T >

Traits which tests if a class is a unit.

Inherits from std::true_type or std::false_type. Use is_unit_v<T> to test whether class T implements a unit.


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