Divides the wrapped value by rhs, reacting to ErrorPolicy on overflow or division by zero.

Synopsis

Declared in <mp‐units/utility/safe_int.h>

constexpr
safe_int&
operator/=(safe_int rhs);

Return Value

a reference to *this, after the division

Parameters

Name

Description

rhs

the value to divide by

Created with MrDocs