Pop back element and return it.
This is well-missed feature of C++'s std::vector because of problems with exception handling. For more details see https://stackoverflow.com/questions/12600330/pop-back-return-value.
See Implementation
Pop back element and return it.
This is well-missed feature of C++'s std::vector because of problems with exception handling. For more details see https://stackoverflow.com/questions/12600330/pop-back-return-value.