operator+=()

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

Resets the current object so that it represents a null-value.

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

Return Value

A copy of the self

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

Applies operator+=() to the value represented by the current object using the specified value as a right-side argument.

template<typename T1> std::enable_if<!IsNullable<T1>::value, Nullable<T>>::type System::Nullable<T>::operator+=(const T1 &other)

Template parameters

ParameterDescription
T1The type of the value used as the right-side value of operator+=()

Arguments

ParameterTypeDescription
otherconst T1&A constant reference to the value that is used as a right-side value of the operator+=() applied to the value represented by the current object.

Return Value

A reference to the self

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

Applies operator+=() to the value represented by the current object using the value represented by the specified Nullable object as the right-side argument.

template<typename T1> Nullable<T> System::Nullable<T>::operator+=(const Nullable<T1> &other)

Template parameters

ParameterDescription
T1The underlying type of a Nullable object the value represented by which is used as the right-side argument of operator+=()

Arguments

ParameterTypeDescription
otherconst Nullable<T1>&A constant reference to Nullable object the value represented by which is used as a right-side argument of the operator+=() applied to the value represented by the current object.

Return Value

A reference to the self

See Also