Questions tagged [default-template-argument]
16 questions
0
votes
1 answer
Non-template class with a template class as a field without specifying template parameters
Is there a way to have a template class such as this
template
class A
{
};
and have another class which can accept both A and A as a argument or field, without being a template class itself. Like this:
class…

hgreen
- 15
- 4