Specialization defining a base quantity

Synopsis

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

template<
    /* implementation-defined */ auto Dim,
    /* implementation-defined */ auto Args...>
struct quantity_spec<QS, Args...>
    : /* implementation-defined */

Base Classes

Name

Description

/* implementation-defined */

Type Aliases

Name

Description

_base_type_

The base type used to detect specializations of quantity_spec

Member Functions

Name

Description

operator()

Function call operators

operator[]

Static Data Members

Name

Description

_character_

The character of the quantity, real scalar unless overriden in Args

_dimension_

The base dimension this quantity specification was defined from

_equation_

The quantity equation this specification was derived from

_is_non_negative_

Whether quantities of this specification can never hold a negative value

_parent_

The parent quantity specification this leaf was derived from

character [deprecated]

Deprecated accessor for character; use get_character(qs) instead

dimension [deprecated]

Deprecated accessor for dimension; use get_dimension(qs) instead

Created with MrDocs