Skip to content

mp_units::zero_t

The type of zero

Synopsis

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

struct zero_t;

Description

All the comparisons of zero are its hidden friends, so argument-dependent lookup finds them through the tag, and they take no part in a comparison that doesn't involve it.

Member Functions

NameDescription
zero_t [constructor]Default constructor
operator T Conversion to T
operator quantity<R, Rep> Conversion to quantity

Friends

NameDescription
mp_units::operator<=>Three-way comparison operator
mp_units::operator==Equality operator
mp_units::operator<=>Three-way comparison operator
mp_units::operator==Equality operator
mp_units::operator<=>Three-way comparison operator
mp_units::operator==Equality operator