Skip to content

c8_rational_operator_pleq

Dave Hudson edited this page May 2, 2017 · 2 revisions

c8::rational::operator +=

auto operator +=(const rational &v) -> rational &;

Adds v (right hand side of the operator) to the value of this object (left hand side of the operator).

Return Value

A reference to this object (left hand side of the operator).

Exceptions

  • std::bad_alloc in the event of a memory allocation failure.

See Also

Clone this wiki locally