mp_units::kind_of_<Q>

Specialization defining the quantity kind of the hierarchy tree rooted at Q

Synopsis

Declared in <mp-units/framework/quantity_spec_definitions.h>

template<QuantitySpec Q>
requires (!detail::QuantityKindSpec<Q>) && (detail::get_kind_tree_root(Q{}) == Q{})
struct kind_of_<Q>
    : Q::_base_type_

Base Classes

NameDescription
Q::_base_type_

Type Aliases

NameDescription
_base_type_ The base type used to detect specializations of kind_of_

Static Data Members

NameDescription
_is_non_negative_ Always false, as a kind can never be universally non-negative
_quantity_spec_ The root quantity specification this kind was created from

Template Parameters

NameDescription
Qthe root quantity specification of the kind