System::operator+ method

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

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)
ParameterTypeDescription
xconst T&The first summand
dconst Decimal&The constant reference to the Decimal object representing the second summand

ReturnValue

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

See Also

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

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)
ParameterTypeDescription
lhvMulticastDelegate<T>The delegate to which callbacks are added.
rhvMulticastDelegate<T>The delegate whose callbacks are being added.

ReturnValue

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

See Also

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

Sums non-nullable and nullable values.

template<typename T1,typename T2,typename> System::Nullable<decltype(some+other.get_Value())> System::operator+(const T1 &some, const Nullable<T2> &other)
ParameterDescription
T1Left operand type.
T2Right operand type.
ParameterTypeDescription
someconst T1&Left operand.
otherconst Nullable<T2>&Right operand.

ReturnValue

Summing result.

See Also

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

String concatenation.

template<typename T> std::enable_if<IsStringLiteral<T, char_t>::value, String>::type System::operator+(T &left, const String &right)
ParameterDescription
TString literal type.
ParameterTypeDescription
leftT&Literal to concatenate to string.
rightconst String&String to concatenate.

ReturnValue

Concatenated string.

See Also

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

String concatenation.

template<typename T> std::enable_if<IsStringPointer<T, char_t>::value, String>::type System::operator+(T &left, const String &right)
ParameterDescription
TString pointer type.
ParameterTypeDescription
leftT&String pointer to concatenate to string.
rightconst String&String to concatenate.

ReturnValue

Concatenated string.

See Also

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

String concatenation.

String System::operator+(const char_t left, const String &right)
ParameterTypeDescription
leftconst char_tCharacter to concatenate to string.
rightconst String&String to concatenate.

ReturnValue

Concatenated string.

See Also