4 ms·
> but feels like reimplementing for no reason In C++, std::vector::emplace_back() and pop_back() are in the standard library for a decade now.
by Const-me 5y ago
> but feels like reimplementing for no reason
In C++, std::vector::emplace_back() and pop_back() are in the standard library for a decade now.
- TillE 5y agoWell that's a stack, but it's not a call stack, which is the point.