Walter Bright via Digitalmars-d <digitalmars-d@puremagic.com> napsal Út, pro 20, 2016 v 3∶47 :<br>
<blockquote type="cite"><div class="plaintext" style="white-space: pre-wrap;">On 12/20/2016 5:47 AM, Ilya Yaroshenko wrote:
<blockquote>One good thing for safety and CTFE is allow multiple return value. In
combination with `auto ref` it is _very_ powerful:

----
auto ref front()
{
  // Returns 2 values, each value is returned by reference if possible
  return (a.front, b.front);
}
----
</blockquote>
<a href="http://dlang.org/phobos/std_typecons.html#.tuple">http://dlang.org/phobos/std_typecons.html#.tuple</a>

auto ref front() {
    return tuple(a.front, b.front);
}</div></blockquote><br><div><a href="https://github.com/dlang/phobos/blob/master/std/typecons.d#L1686">https://github.com/dlang/phobos/blob/master/std/typecons.d#L1686</a></div><div><br></div><div>I do not see any auto ref at code, so I do not belive this will work</div>