I think that this is a great example of some of the tradeoffs between Rust and C++! The main difference is that the C++ code will check everything at instantiation time, and C++ templates can lead to nasty error…
I think that this is a great example of some of the tradeoffs between Rust and C++! The main difference is that the C++ code will check everything at instantiation time, and C++ templates can lead to nasty error…