G
Gaijinco
If I have a template class like:
template <typename T>
class List
{
// something here
};
and another class
class Contact
{
// something here
};
What makes more sense:
class Agenda : public List<Contact>
{
};
or should I inherit from the template class like
template <typename T>
class Agenda : public List<T>
{
};
Thanks!
template <typename T>
class List
{
// something here
};
and another class
class Contact
{
// something here
};
What makes more sense:
class Agenda : public List<Contact>
{
};
or should I inherit from the template class like
template <typename T>
class Agenda : public List<T>
{
};
Thanks!