On 6/2/15 6:12 PM, Seth Fowler wrote:
If you write this:

auto val = Bar();
Foo(val);

I think to preserve the semantics of Foo(Bar()) you need:

  auto& val = Bar();
  Foo(val);

but apart from that nit, I totally agree.

-Boris

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to