|
|
|
|
|
by fpoling
410 days ago
|
|
Result type still requires quite a few lines of boilerplate if one needs to add custom data to it. And as a replacement of exceptions with automatic stack trace attachment it is relatively poor. In any case I will take Rust Result over C++ mess at any time especially given that we have two C++, one with exception support and one without making code incompatible between two. |
|
I use completely custom error handling stacks in C++ and they are quite slick these days, thanks to improvements in the language.