C++ : Is it safe to use std::vector.erase(begin(), end()) or std::vector.erase(begin(), begin())?

Channel:
Subscribers:
76,400
Published on ● Video Link: https://www.youtube.com/watch?v=1uhjupDov0s



Duration: 1:14
1 views
0


C++ : Is it safe to use std::vector.erase(begin(), end()) or std::vector.erase(begin(), begin())?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As I promised, I have a secret feature to share with you.
This is a YouTube's feature which works on Desktop.
First, Make sure this video is playing.
Then, type the letters 'awesome' on the keyboard.
It will change your youtube progress bar into a flashing rainbow.

An introduction to myself in a few words,
Hello everyone, I'm Delphi.
I can assist you in discovering answers to your inquiries.
C++ : Is it safe to use std::vector.erase(begin(), end()) or std::vector.erase(begin(), begin())?
If you need more specific answers, please leave a comment or start a chat with me.
We appreciate your participation, so please feel free to comment below with your answer or insights.
Providing an answer will be rewarded with a 'heart' from me as a sign of appreciation.
it begin())? use std::vector.erase(begin(), or std::vector.erase(begin(), Is to end()) safe C++ :