How can I achieve this?
template <typename T = Element>
class Element : public NodeType<T> {
//....
//....
}
a templated class that the argument has as default the same class
I face this problem because I want a behaviour like following
inherit from container but the templates classes change for the new derived class
Aucun commentaire:
Enregistrer un commentaire