Inheritance of Specialized Class from Non Template Class and Template Class from Specialized Class

May 20, 2019 at 10:16am
I have two questions which I am unable to solve myself.
Questions are,

- Is it possible to inherit Specialized Class from Non Template Class?
- Is it possible to inherit Template Class from Specialized Class?

If it is then can someone with code example show how can it be done?
Or if not then what's the reason behind it?
Thank you!
May 20, 2019 at 10:40am
I think that the answer to both questions is 'yes'.
See https://en.cppreference.com/w/cpp/language/template_specialization
Topic archived. No new replies allowed.