3 ms·
This would be nice, but the biggest pain I had with C++ is you can't use C++ types as values, e.g. as described here: https://cxx.rs/binding/cxxstring.html htt
by IshKebab 3y ago
This would be nice, but the biggest pain I had with C++ is you can't use C++ types as values, e.g. as described here:
https://cxx.rs/binding/cxxstring.html https://cxx.rs/binding/cxxstring.html
It's because Rust doesn't have move constructors. I doubt they're going to add move constructors to Rust so that seems kind of unsolvable which is a shame.