https://github.com/D-Programming-Language/phobos/pull/1046/files#L0R6560