/* bar.h */ class bar{ /* standard stuff omitted */ std::vector foo; }; /* bar.cpp */ bar::bar(){ // foo = new std::vector();
std::vector in this library is not a pointer