nxt.nullable_traits

Traits for introspection nullability (undefinedness) of a type.

Members

Enums

hasMemberNullValue
eponymoustemplate hasMemberNullValue(T)

Is true iff T is a type with a member null value.

hasNullValue
eponymoustemplate hasNullValue(T)

Is true iff T is a type with a standardized null (zero address) value.

Functions

isNull
bool isNull(T x)

Templates

defaultNullKeyConstantOf
template defaultNullKeyConstantOf(T)

Default null key of type T,

hasStandardNullValue
template hasStandardNullValue(T)

Is true iff T is a type with a standardized null (zero address) value.

isNullable
template isNullable(T)

Is true iff T is type with a predefined undefined (null) value.

Meta