4 ms·
D can even catch C++ exceptions on Linux (haven't tried it on Windows yet)
by mhh__ 6y ago
D can even catch C++ exceptions on Linux (haven't tried it on Windows yet)
- lalaithion 6y agohttps://cxx.rs/binding/result.html https://cxx.rs/binding/result.html You can also catch C++ exceptions (by turning them into the idiomatic Result type in Rust) using cxx.
- mhh__ 6y agoThat's cheating! https://d.godbolt.org/z/Ed65xMdj1 https://d.godbolt.org/z/Ed65xMdj1