I have been fiddling with this problem for a while of generating an array of a compile time constant size containing unique random integers up to a compile time constant value. I have a nice templated rng, that I butchered from a paper, but haven't figured out the rest. This is probably a stupid question but - is this endeavour theoretically possible in c++, or have I missed something silly?
Edit: if it is possible please no spoilers