Adds rhs to the wrapped value, reacting to ErrorPolicy on overflow.
Synopsis
Declared in <mp‐units/utility/safe_int.h>
constexpr
safe_int&
operator+=(safe_int rhs);
Return Value
a reference to *this, after the addition
Parameters
Name |
Description |
rhs |
the value to add |
Created with MrDocs