System::Nullable::operator- 方法

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

对可空值进行相减。

template<typename T1> System::Nullable<decltype(get_Value() - other.get_Value())> System::Nullable<T>::operator-(const Nullable<T1> &other) const
Parameter描述
T1右操作数类型。
ParameterType描述
其他const Nullable<T1>&要减去的值。

ReturnValue

减法结果。

另见

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

对可空值和非可空值进行相减。

template<typename T1,typename> Nullable<decltype(get_Value() - other)> System::Nullable<T>::operator-(const T1 &other) const
Parameter描述
T1右操作数类型。
ParameterType描述
其他const T1&要减去的值。

ReturnValue

减法结果。

另见

Nullable::operator-(T1) const method

对可空值和空指针值进行相减。

template<typename T1,typename> Nullable<T> System::Nullable<T>::operator-(T1) const
Parameter描述
T1右操作数类型,应为 nullptr_t。

ReturnValue

空的 Nullable 对象。

另见