operator+()

System::operator+(const T&, const Decimal&) function

Returns a new instance of Decimal class that represents a value that is a sum of the specified value and the value represented by the specified Decimal object.

template<typename T,typename _> Decimal System::operator+(const T &x, const Decimal &d)

Arguments

ParameterTypeDescription
xconst T&The first summand
dconst Decimal&The constant reference to the Decimal object representing the second summand

Return Value

A new instance of Decimal class that represents a value that is a sum of x and the value represented by the d.

System::operator+(MulticastDelegate<T>, MulticastDelegate<T>) function

Connects all callbacks from right hand delegate to the end of left hand delegate callback list.

template<typename T> MulticastDelegate<T> System::operator+(MulticastDelegate<T> lhv, MulticastDelegate<T> rhv)

Arguments

ParameterTypeDescription
lhvMulticastDelegate<T>The delegate to which callbacks are added.
rhvMulticastDelegate<T>The delegate whose callbacks are being added.

Return Value

Returns a delegate that contains the callbacks of the left hand value and then the right hand ones.

System::operator+(const T1&, const Nullable<T2>&) function

Sums non-nullable and nullable values.

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

Template parameters

ParameterDescription
T1Left operand type.
T2Right operand type.

Arguments

ParameterTypeDescription
someconst T1&Left operand.
otherconst Nullable<T2>&Right operand.

Return Value

Summing result.

System::operator+(T&, const String&) function

String concatenation.

template<typename T> std::enable_if<IsStringLiteral<T, char_t>::value, String>::type System::operator+(T &left, const String &right)

Template parameters

ParameterDescription
TString literal type.

Arguments

ParameterTypeDescription
leftT&Literal to concatenate to string.
rightconst String&String to concatenate.

Return Value

Concatenated string.

System::operator+(T&, const String&) function

String concatenation.

template<typename T> std::enable_if<IsStringPointer<T, char_t>::value, String>::type System::operator+(T &left, const String &right)

Template parameters

ParameterDescription
TString pointer type.

Arguments

ParameterTypeDescription
leftT&String pointer to concatenate to string.
rightconst String&String to concatenate.

Return Value

Concatenated string.

System::operator+(const char_t, const String&) function

String concatenation.

String System::operator+(const char_t left, const String &right)

Arguments

ParameterTypeDescription
leftconst char_tCharacter to concatenate to string.
rightconst String&String to concatenate.

Return Value

Concatenated string.

See Also