operator%=

Synopsis

Declared in <folly/math/Division.h>

template<typename Word>
constexpr
Word&
operator%=(
    Word& dividend,
    uint_divisor<Word> const& divisor);

Description

Replaces dividend with the remainder of dividend / divisor and returns a reference to it.

Return Value

A reference to dividend.

Parameters

Name

Description

dividend

The value to replace with the remainder.

divisor

The divisor.

Created with MrDocs