M
Matt Davis
Hello,
I am attempting to create a vector of trees that contain user defined
objects.
For example, the follwing code will not compile.
vector <tree <userObject> > vectorTree;
Is this kind of nested templating allowed in C++? I recoginze that
there must be a space between the angle bracets (to avoid being
mistaken for a stream operator).
Any help would be appreciated.
Matt Davis
I am attempting to create a vector of trees that contain user defined
objects.
For example, the follwing code will not compile.
vector <tree <userObject> > vectorTree;
Is this kind of nested templating allowed in C++? I recoginze that
there must be a space between the angle bracets (to avoid being
mistaken for a stream operator).
Any help would be appreciated.
Matt Davis