On 6/2/15 6:28 PM, Boris Zbarsky wrote:
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.

This. Allow auto or lift the 80 character limit. ;-)

.: Jan-Ivar :.

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

Reply via email to