On 09/26/2011 11:46 PM, Andrej Mitrovic wrote:
On 9/26/11, Timon Gehr<[email protected]> 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; }
Yes, of course, that is how it is implemented.
