>>61Technically, it's not an anti-pattern, it is standard practice. It is idiomatic C++.
The man himself in the "The C++ Programming Language" book says that std::vector is optimized for sequential push_back()s and that you should always prefer vectors (and others) over arrays, and you should always use push_back() on a vector over using realloc() on an array.