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))
) {}

Members

Variables

ctPrimesLessThan
enum typeof(N)[] ctPrimesLessThan;
Undocumented in source.

Parameters

N

All elements of result are less than this value

Meta