Revive https://github.com/D-Programming-Language/phobos/pull/1348 as the author seems to have abandoned it.