|
Unit Conversion and Dimensional Analysis Library 3.6.1
A compile-time, header-only C++23 dimensional-analysis library
|
A compile-time string usable as a non-type template parameter (the tag of a kind/of). More...
#include <kind.h>
Public Attributes | |
| char | value [N] {} |
| the stored characters (including the terminating null) | |
A compile-time string usable as a non-type template parameter (the tag of a kind/of).
| N | the length including the terminating null (deduced from the string literal). |
Structural (public array), so kind<"radial", U> names a distinct type per spelling and two identical spellings name the SAME type. Comparison works ACROSS lengths — a "radial" and a "straight" (different N) compare unequal rather than failing to compile, so a tag-mismatch constraint (TagL == TagR) is well-formed for any two tags.