reverse_bits.reverse_bits

Undocumented in source.
  1. enum reverse_bits;
  2. enum reverse_bits;
    template reverse_bits(int i, int bits_left, int r = 0)
    nothrow @nogc
    static if(!(bits_left == 0))
    enum reverse_bits = reverse_bits!(i >> 1, bits_left - 1, (r << 1) | (i & 1));

Meta