D-Programming-Language/druntime — pull request #178 by quickfur (2012-03-15 18:51:33+00:00)
Title: Make rt.util.hashOf work in CTFE

Currently hashOf doesn't work in CTFE on x86 platforms because of the cast from ubyte* to ushort*. This patch adds an if(__ctfe) to revert back to per-byte access when in CTFE.