On Tuesday, 10 May 2016 at 12:49:28 UTC, Steven Schveighoffer wrote:
BTW, has anyone proposed a replacement like this?

auto ref comma(T...)(auto ref T t) if(T.length > 1)
{
   return t[$-1];
}

That won't work with void expressions.

Here's a version which does:

https://github.com/CyberShadow/ae/commit/1405e9deff60d33952e52600bc1d1fcbf3511084

Reply via email to