On 03.09.2016 17:28, Andrei Alexandrescu wrote: > > What's wrong with: > > auto seq(T...)(auto ref T vals) { return vals[$ - 1]; } - The name (I'd expect that function to return vals). - Does not work if one or more arguments is of type 'void'. (Arguably that's just a language misdesign.)