On Thu, Jan 19, 2017, at 07:00 PM, gsquel...@mozilla.com wrote: > > I think the point is that it's not obvious that "must check the return > > value" is a sufficiently-dominant common case for arbitrary return values. > > FWIW, Rust took the [must_use] rather than [can_ignore] approach too. > > That's unfortunate. But real-world data must trump my idealism in the > end. :-)
The Rust case is helped by the fact that `Result` is the defacto type for returning success or error, and it's effectively `must_use`. We don't have a similar default convention in C++. -Ted _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform