System::Nullable::operator-= 方法

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

operator-=() 应用于当前对象表示的值,使用指定的 Nullable 对象表示的值作为右侧参数。

template<typename T1> Nullable<T> System::Nullable<T>::operator-=(const Nullable<T1> &other)
参数描述
T1一个 Nullable 对象的底层类型,其表示的值用作 operator-=() 的右侧参数。
参数类型描述
otherconst Nullable<T1>&Nullable 对象的常量引用,其表示的值用作对当前对象表示的值应用的 operator-=() 的右侧参数。

ReturnValue

对自身的引用

另见

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

operator-=() 应用于当前对象表示的值,使用指定的值作为右侧参数。

template<typename T1,typename> std::enable_if<!IsNullable<T1>::value, Nullable<T>>::type System::Nullable<T>::operator-=(const T1 &other)
参数描述
T1作为 operator-=() 右侧值的值的类型。
参数类型描述
otherconst T1&对用于当前对象表示的值上应用的 operator-=() 的右侧值的常量引用。

ReturnValue

对自身的引用

另见

Nullable::operator-=(T1) method

返回表示空值的 Nullable 类的实例。

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

另见