On Tue, May 9, 2017 at 5:58 AM, Emilio Cobos Álvarez <emi...@crisal.io> wrote: > Personally, I don't think that the fact that they're not used as much as > they could/should is a good argument to prevent their usage, but I don't > know what's the general opinion on that.
The argument I have always heard, Gecko-wise and elsewhere [1], is to prefer pointers for modification, because it's clearly signaled at the callsite that something might be happening to the value. That would rule out `T&`, but permit `const T&`. -Nathan [1] https://google.github.io/styleguide/cppguide.html#Reference_Arguments _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform