A zero-size vector of pointers:
std::vector
A vector of NULL pointers:
std::vector
A vector of pointers to newly allocated objects (not really initialization though):
std::vector
stuff.reserve(10);
for( int i = 0; i < 10; ++i )
stuff.push_back(new int(i));
Initializing a vector of pointers to newly allocated objects (needs C++11):
std::vector
A smarter version of #3:
std::vector
stuff.reserve(10);
for( int i = 0; i < 10; ++i )
stuff.emplace_back(new int(i));