Function flagsToString

Prints an integer as being a combination of bit flags

string flagsToString(ENUM, VAL) (
  in VAL value
)
if (is(ENUM >= fnum) && isIntegral!VAL);