castInt

Casts a string to an integer at compile-time. Allows for fast string comparison using integers: *cast(uint*)"\xAA\xBB\xCC\xDD".ptr == castInt("\xAA\xBB\xCC\xDD")

static
size_t
castInt

Meta