Self-inherited structure definition in C++

Silly mistakes are there. Use below code compiles in VS2013

#include <vector>

struct A : public std ::vector<A>
 {
    A();
    virtual ~A();
 };

Leave a Comment