fork download
  1. #include <vector>
  2.  
  3. class A
  4. {
  5. public:
  6. A(int a,int b,int c) {}
  7. };
  8.  
  9. int main()
  10. {
  11. std::vector<A>* vec_objects = new std::vector<A>();
  12.  
  13. A a(1,2,3);
  14. vec_objects->push_back(a);
  15. }
Success #stdin #stdout 0.01s 2852KB
stdin
Standard input is empty
stdout

Standard output is empty