ctPrimesLessThan

Construct an array of all prime numbers less than N, using CTFE. The type of the array is typeof(N)[].

template ctPrimesLessThan () if (
isIntegral!(typeof(N))
) {
enum typeof(N)[] ctPrimesLessThan;
}

Parameters

N

All elements of result are less than this value

Meta