can you get the last or newly added element in std::set? for example say if the loop runs to collect the elements to fill in the std::set.
if on the first run the set was,
[0] "A"
[1] "B"
[2] "D"
and, on second run, the set becomes
[0] "A"
[1] "B"
[2] "C"
[3] "D"
How would you check if 'C' is the new element that was added?