bitsNeeded.bitsNeeded

Undocumented in source.
  1. enum bitsNeeded;
  2. enum bitsNeeded;
  3. enum bitsNeeded;
  4. enum bitsNeeded;
  5. enum bitsNeeded;
  6. enum bitsNeeded;
  7. enum bitsNeeded;
  8. enum bitsNeeded;
  9. enum bitsNeeded;
    template bitsNeeded(size_t length)
    static if(!(length <= 2))
    static if(!(length <= 4))
    static if(!(length <= 8))
    static if(!(length <= 16))
    static if(!(length <= 32))
    static if(!(length <= 64))
    static if(!(length <= 128))
    static if(!(length <= 256))
    static if(length <= 512)
    enum bitsNeeded = 9;

Meta