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¶
| Name | Description |
|---|---|
zero_t [constructor] | Default constructor |
operator T | Conversion to T |
operator quantity<R, Rep> | Conversion to quantity |
Friends¶
| Name | Description |
|---|---|
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 |