Comment on C++ is faster and safer than Rust (2020)parentComments−makapuf4yThat's what I meant with operator++ being redefined to do anything.−jcelerier4ybut when you write generic algorithms (as you should), you don't know beforehand with which "operator++" your a will be called. So you have to go for the one which will give the best performance.
Comments
That's what I meant with operator++ being redefined to do anything.
but when you write generic algorithms (as you should), you don't know beforehand with which "operator++" your a will be called. So you have to go for the one which will give the best performance.