mp_units::Dimension

A concept matching all dimensions in the library.

Synopsis

Declared in <mp-units/framework/dimension_concepts.h>
template<typename T>
concept Dimension = std::derived_from<T, detail::dimension_interface> && detail::SymbolicConstant<T> &&
                    (!is_specialization_of_v<T, base_dimension>);

Description

Satisfied by all dimension types in the library.