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
参数描述
T1右操作数类型。
参数类型描述
其他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
参数描述
T1右操作数类型。
参数类型描述
其他const T1&要添加的值。

ReturnValue

求和结果。

另见

Nullable::operator+(std::nullptr_t) const method

返回 Nullable 类的默认构造实例。

Nullable<T> System::Nullable<T>::operator+(std::nullptr_t) const

另见