nextPrime

Get next prime greater than x.

Written as a free function instead of MpZ-member because `__traits(isRef, this)` doesn't currently support member functions.

pure nothrow @nogc @trusted
_Z!(cow)
nextPrime
(
bool cow
)
(
auto ref scope const _Z!(cow) x
)

Meta