dimval 0.2.0
Modern C++23 header-only library of dimensional values (units, measures, ranges)
Loading...
Searching...
No Matches
dimval::UnitBase< Self > Struct Template Reference

CRTP base for unit tags. More...

#include <base.hpp>

Inheritance diagram for dimval::UnitBase< Self >:
Collaboration diagram for dimval::UnitBase< Self >:

Detailed Description

template<typename Self>
struct dimval::UnitBase< Self >

CRTP base for unit tags.

Self must publish at least: id, symbol, short_name, long_name, kind, factor (as static constexpr members). Optional fields default to the values declared here and may be overridden by shadowing in Self.


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