D-Programming-Language/phobos — pull request #1743 by JakobOvrum (2013-12-03 15:30:29+00:00)
Title: Add std.range.only overload that accepts multiple values

Basically the non-dynamic-allocation version of `[values...]`, which is probably used a lot in the wild despite its performance implication.

I find myself resorting to a utility module including this function in more and more of my projects, which is why I've come to think it should be in Phobos (e.g. https://github.com/JakobOvrum/Dirk/blob/master/irc/util.d#L14).