Mod.Mod

template Mod(size_t m, T = UnsignedOfModulo!m)
struct Mod {
enum min;
enum max;
}

Constructors

this
this(U value)

Construct from value of unsigned integer type UI.

this
this(Mod!(n, U) rhs)

Construct from Mod!n, where n <= m.

Alias This

_prop

Members

Functions

opAssign
auto ref opAssign(U value)

Assign from value of unsigned integer type UI.

opAssign
auto ref opAssign(Mod!(n, U) rhs)

Assign from Mod!n, where n <= m.

Meta