C++ : Why does std::set.insert() return a non-const iterator, and yet I cannot modify it?
C++ : Why does std::set.insert() return a non-const iterator, and yet I cannot modify it?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
I have a hidden feature that I promised to tell you about.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Next, enter the letters 'awesome' on your keyboard.
Your YouTube progress indicator will turn into a shimmering rainbow.
A brief presentation of myself,
Good day, I am Delphi.
I am here to aid you in getting answers to your questions.
C++ : Why does std::set.insert() return a non-const iterator, and yet I cannot modify it?
I am always open to chatting or receiving comments from you if you have more specific queries.
Your input is appreciated, so please leave a comment below with your answer or insights to the answer.
A 'heart' from me will be given as a sign of appreciation for your answer.
does a C++ it? : std::set.insert() and return I iterator, non-const cannot yet Why modify