C++ can I have a vector of struct in a struct -


i have struct node. need have vector of node member of node. error:
error c2065 undeclared identifier
possible solve in c++?

update although think question clear, because insist see code, add code too:

typedef struct node_struct{     string id;     mwtypes mwtype;     bool geometricdecomposition;      node_struct()     {         mwtype = fork;         geometricdecomposition = false;     }   ...      vector<vector<node>> barrierworkers; } node; 


Comments

Popular posts from this blog

javascript - WinJS appendTextAsync producing scheduler errors -

minify - Minimizing css files -

Sockets with kotlin -