On 9/26/11, Timon Gehr <timon.gehr at gmx.ch> wrote: > it checks if the type is some sort of bit vector > with two's complement arithmetics defined on it. I thought it's just hardcoded: template isIntegral(T) { enum bool isIntegral = staticIndexOf!(Unqual!(T), byte, ubyte, short, ushort, int, uint, long, ulong) >= 0; }