3 ms·
Pattern matching is much more powerful in Rust than in C++, even with Boost libraries. Type inference is likewise more powerful, as you can overload on return t
by pcwalton 5y ago
Pattern matching is much more powerful in Rust than in C++, even with Boost libraries. Type inference is likewise more powerful, as you can overload on return type.
- pjmlp 5y agoToday, by C++26 it should be there, while libraries like CUDA or frameworks like LLVM will keep using it. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2392r0.pdf http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p239... Type inference is powerful enough with generics being Turing complete.