There doesn't seem to be any nice way like MSVC's exception filters, but I think at some point I saw something working on linux/libstdc++. I can't find it right now, but if I remember correctly, it involved hacking some RTTI implementation details to hook the "does the exception type match the catch-handler's type" check.
View all comments
Show parent comment
1
u/mark_99 Apr 21 '26
Oh interesting, that does seem like an improvement. Does this only work on MSVC?