nxt.nullable_traits

Traits for introspection the nullability (undefinedness) of a type.

If a type is nullable it has a special value reserved in its set of possible which is to indicated that the value is undefined.

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)
nullify
void nullify(T x)
Undocumented in source. Be warned that the author may not have intended to support it.

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