Skip to content

mp_units::zero_t::operator T

Conversion to T

Synopsis

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

template</* implementation-defined */ T>
  requires requires {
    representation_values<typename quantity_like_traits<T>::rep>::zero();
  }
[[nodiscard]] constexpr explicit(quantity_like_traits<T>::explicit_export) operator T()
  const;

Return Value

The object converted to T

Note

The return value should not be discarded.