operator+()

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

Returns a default constructed instance of Nullable class.

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

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

Sums nullable and non-nullable values.

template<typename T1,typename> auto System::Nullable<T>::operator+(const T1 &other) const -> Nullable<decltype(get_Value()+other)>

Template parameters

ParameterDescription
T1Right operand type.

Arguments

ParameterTypeDescription
otherconst T1&value to add.

Return Value

Summing result.

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

Sums nullable values.

template<typename T1> auto System::Nullable<T>::operator+(const Nullable<T1> &other) const -> System::Nullable<decltype(get_Value()+other.get_Value())>

Template parameters

ParameterDescription
T1Right operand type.

Arguments

ParameterTypeDescription
otherconst Nullable<T1>&value to add.

Return Value

Summing result.

See Also