Re:Modern C for C++ Peeps
by colejohnson66 on Saturday January 07, 2023 @03:00PM
(#34292031)
"Sticky states" work too; IIRC, it's how FPU exceptions on the x87 work. But I was responding to the upthread comment that "exceptions can come from any possible function call depth, whereas in C you only have to deal with error return codes." Sticky states still have that "issue." After all, they're just an alternative to try{}catch{} blocks.
[ Parent
| on HN ]
There are no comments on this comment yet.