|
Unit Conversion and Dimensional Analysis Library 3.6.1
A compile-time, header-only C++23 dimensional-analysis library
|
the runtime identity of a quantity's dimension — the set of nonzero base-dimension terms More...
#include <serialization.h>
Public Member Functions | |
| bool | operator== (const unit_identity &other) const noexcept |
| dimension-signature equality | |
Public Attributes | |
| std::vector< dimension_term > | terms |
the runtime identity of a quantity's dimension — the set of nonzero base-dimension terms
Backed by a std::vector, so there is NO baked-in ceiling on the number of base dimensions a quantity may compose. The terms are held sorted by hash so equality is order-independent.
|
inlinenoexcept |
dimension-signature equality
| [in] | other | identity to compare against |