Re:A bug in GCC that may cause memory leaks in valid C++ pro...
by int_19h on Friday April 28, 2017 @04:34PM
(#14222839)
Well, we were talking about exceptions in C++, where there is a standard way to communicate nothrow. So yes, you're right that it's no longer a pervasively unchecked error system - but that's precisely why they're not any worse than Result<T,E> at this point. Effectively you can treat C++ as having every function return Result<T,E> by default, with nothrow being an opt-out to just return T.
[ Parent
| on HN ]
There are no comments on this comment yet.