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 オブジェクトへの const 参照です。

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)
パラメーター説明
T1operator-=() の右側値として使用される値の型です。
パラメーター説明
otherconst T1&現在のオブジェクトが表す値に適用される operator-=() の右側値として使用される値への const 参照です。

ReturnValue

自身への参照

参照

Nullable::operator-=(T1) method

null 値を表す Nullable クラスのインスタンスを返します。

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

参照