Quiz Time! Prepending items to QVector
-
@VRonin I'm late to the party, as usual ...
... and also as usual I probably sound like a broken record, but what your task sounds like is actually a stack, not a vector ... ;)@kshegunov said in Quiz Time! Prepending items to QVector:
but what your task sounds like is actually a stack, not a vector
Indeed, this was an iper-semplification of my problem to solve the academic dilemma.
I agree that a stack or, as @jeremy_k already pointed out, using reverse iterators would achieve the same