I am confused with that, that pop_back() std::list method does not have return value, but how can I then get value from some list and store it in another, for example list of ints?
I assume that this is easy, but I am not familiar with C++, I tried to find solution, but maybe here I can get concrete answer about how to do that.