| 20 | } |
| 21 | |
| 22 | T* PushBack(const T& t) { |
| 23 | if (LastPage().size() == LastPage().capacity()) { |
| 24 | AddNewPage(); |
| 25 | } |
| 26 | LastPage().push_back(t); |
| 27 | return &LastPage().back(); |
| 28 | } |
| 29 | |
| 30 | T* PushBackToContRegion(const T& t, T** regionBegin) { |
| 31 | Y_ASSERT(!V.empty() && !LastPage().empty()); |
no test coverage detected