bitsNeeded

Get number of bits needed to represent the range (0 .. length-1).

template bitsNeeded (
size_t length
) {
enum bitsNeeded;
enum bitsNeeded;
enum bitsNeeded;
enum bitsNeeded;
enum bitsNeeded;
enum bitsNeeded;
enum bitsNeeded;
enum bitsNeeded;
enum bitsNeeded;
}

Meta