System::Nullable::operator+= メソッド

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

指定された Nullable オブジェクトが表す値を右側引数として使用し、現在のオブジェクトが表す値に operator+=() を適用します。

template<typename T1> Nullable<T> System::Nullable<T>::operator+=(const Nullable<T1> &other)
パラメーター説明
T1operator+=() の右側引数として使用される、Nullable オブジェクトが表す値の基底型
パラメーター説明
otherconst Nullable<T1>&現在のオブジェクトが表す値に適用される operator+=() の右側引数として使用される、Nullable オブジェクトが表す値への定数参照

ReturnValue

自身への参照

参照

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

指定された値を右側引数として使用し、現在のオブジェクトが表す値に operator+=() を適用します。

template<typename T1> std::enable_if<!IsNullable<T1>::value, Nullable<T>>::type System::Nullable<T>::operator+=(const T1 &other)
パラメーター説明
T1operator+=() の右側値として使用される値の型
パラメーター説明
otherconst T1&現在のオブジェクトが表す値に適用される operator+=() の右側値として使用される値への定数参照

ReturnValue

自身への参照

参照

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

現在のオブジェクトをリセットし、null値を表すようにします。

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

ReturnValue

自身のコピー

参照