0

How should this template based class declaration be read?

I understand that a class can inherit from another class that's based on a template, but here it seems the class MyClass is directly inheriting from the template type B.

 template <typename A, typename B>
     
     class MyClass final : public B {
        using XX = B;
    
        /*
            Rest of the class definition
        */
      }

    

0 Answers0