System::Nullable::operator- method

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

Subtracts nullable values.

template<typename T1> System::Nullable<decltype(get_Value() - other.get_Value())> System::Nullable<T>::operator-(const Nullable<T1> &other) const
ParameterDescription
T1Right operand type.
ParameterTypeDescription
otherconst Nullable<T1>&value to subtract.

ReturnValue

Subtraction result.

See Also

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

Subtracts nullable and non-nullable values.

template<typename T1,typename> Nullable<decltype(get_Value() - other)> System::Nullable<T>::operator-(const T1 &other) const
ParameterDescription
T1Right operand type.
ParameterTypeDescription
otherconst T1&value to subtract.

ReturnValue

Subtraction result.

See Also

Nullable::operator-(T1) const method

Subtracts nullable and null-pointed values.

template<typename T1,typename> Nullable<T> System::Nullable<T>::operator-(T1) const
ParameterDescription
T1Right operand type, should be nullptr_t.

ReturnValue

Empty Nullable object.

See Also