operator+

Addition operators

Synopses

Declared in <arith_uint256.h>

Concatenate two bilingual strings.

bilingual_str
operator+(
    bilingual_str lhs,
    bilingual_str const& rhs);
» more...

Returns an iterator advanced by n elements.

const_iterator
operator+(
    size_type n,
    const_iterator x);
» more...

Returns an iterator advanced by n elements.

iterator
operator+(
    size_type n,
    iterator x);
» more...

Sum fee and size.

FeeFrac
operator+(
    FeeFrac const& a,
    FeeFrac const& b) noexcept;
» more...

Returns the sum of two big integers.

base_uint
operator+(
    base_uint const& a,
    base_uint const& b);
» more...

Returns the sum of two big integers.

base_uint<256>
operator+(
    base_uint<256> const& a,
    base_uint<256> const& b);
» more...

Return Value

  • The concatenation of lhs and rhs.
  • An iterator advanced by n elements.
  • A FeeFrac holding the summed fee and summed size.
  • The sum of a and b.

Parameters

NameDescription
lhsThe left operand, taken by value and used as the result.
rhsThe bilingual string appended to lhs.
nThe number of elements to advance by.
xThe iterator to advance.
aThe first operand.
bThe second operand.