Original Post
My question is how can I use a C++ template object that it's own template class is also defined as a template.
I created two template classes:
template <class T>
class a
{....
};
template <class T>
class b
{....
};
and another class:
class c
{...
};
The following object definition is legal:
b<c> aObj;But:
a<b> aObj; Or: a<b<c>> aObj;is rejected by the compiler. Is there a way overcome this template's double nesting problem ? I would happy to know what you think. [edited by - elijah on June 2, 2003 6:59:12 AM] [edited by - elijah on June 2, 2003 7:02:48 AM] [edited by - elijah on June 2, 2003 7:04:50 AM]