6/14/2017

stl vector test for pop back and pop front


STL Vector test for pop_back, pop_back_n and pop front.

I wanted to erase first element.
but there is no inner function.
pop_back, pop_back_n is that erase last element in vectors.
The last sample is the method to pop front.

refer to this sample code.

< gist >



< /gist >


No comments:

Post a Comment