C++ : Why `it1++` works, but `it1=it1+1` does not, where it1 is iterator of list container
C++ : Why `it1++` works, but `it1=it1+1` does not, where it1 is iterator of list container
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
As promised, I have a hidden feature that I want to share with you.
This is a YouTube's feature which works on Desktop.
First, Make sure the video is currently in playing mode.
Then, type the letters 'awesome' on your keyboard as the next step.
The progress bar on YouTube will be altered to a flashing rainbow.
Allow me to introduce myself briefly,
Hey, I'm known as Delphi.
Let me aid you in resolving any queries you may have.
C++ : Why `it1++` works, but `it1=it1+1` does not, where it1 is iterator of list container
I am available to answer your more detailed queries via comments or chat.
If you have an answer, or any insights to the answer, please comment below.
Your answer will be recognized and appreciated, and I will 'heart' it to show my appreciation.
`it1=it1+1` container Why it1 works, iterator but list does C++ not, where : of `it1++` is