folly::uint_division_result

uint_division_result

Synopsis

Declared in <folly/math/Division.h>

template<typename Word>
struct uint_division_result;

Description

The aggregate result of a division: both the quotient and the remainder.

Type Aliases

NameDescription
value_type value_type

Data Members

NameDescription
quotient The quotient of the division.
remainder The remainder of the division.

Template Parameters

NameDescription
WordAn unsigned integer type.