operator-()

Nullable::operator-(T1) const method

Subtracts nullable and null-pointed values.

template<typename T1,typename> Nullable<T> System::Nullable<T>::operator-(T1) const

Template parameters

ParameterDescription
T1Right operand type, should be nullptr_t.

Return Value

Empty Nullable object.

Nullable::operator-(const T1&) const method

Subtracts nullable and non-nullable values.

template<typename T1,typename> auto System::Nullable<T>::operator-(const T1 &other) const -> Nullable<decltype(get_Value() - other)>

Template parameters

ParameterDescription
T1Right operand type.

Arguments

ParameterTypeDescription
otherconst T1&value to subtract.

Return Value

Subtraction result.

Nullable::operator-(const Nullable<T1>&) const method

Subtracts nullable values.

template<typename T1> auto System::Nullable<T>::operator-(const Nullable<T1> &other) const -> System::Nullable<decltype(get_Value() - other.get_Value())>

Template parameters

ParameterDescription
T1Right operand type.

Arguments

ParameterTypeDescription
otherconst Nullable<T1>&value to subtract.

Return Value

Subtraction result.

See Also