2 ms·
I absolutely agree about the multiple return values in general. Unfortunately the discussion around N2289 is more about providing something a lot like exceptio
by vkazanov 8y ago
I absolutely agree about the multiple return values in general.
Unfortunately the discussion around N2289 is more about providing something a lot like exceptions for both C and C++ but without all the exception problems.
The proposal really has some ugly corners related to how one actually handles the errors. You can read the discussion here:
https://www.reddit.com/r/cpp/comments/9owiju/exceptions_may_finally_get_fixed/ https://www.reddit.com/r/cpp/comments/9owiju/exceptions_may_...