#include #include #include #include "obj.h" using namespace std; int main() { vector v; obj ob = 10; v.push_back(ob); for (vector::const_iterator it = v.begin(); it != v.end(); ++it) { cout << *it << "\n"; } return EXIT_SUCCESS; //Destruct ob and v, in that order. }