3 ms·
Nope! Rust doesn’t have function overloading like C++. What would that code look like in C++? (Rust has operator overloading - but that’s not the same thing).
by josephg 4y ago
Nope! Rust doesn’t have function overloading like C++. What would that code look like in C++?
(Rust has operator overloading - but that’s not the same thing).
- jcelerier 4y agohere's the code translated to C++: https://gist.github.com/jcelerier/f76e3ee55037675db559e5062f7bd5bf https://gist.github.com/jcelerier/f76e3ee55037675db559e5062f... Rust certainly brings a lot, but I would really doubt of the sanity of anyone who would take the rust code over the C++ one here