I have the following classes in the following files:
    // Tensor.hh
    template <class T>
    class Tensor {
        /* declarations */
    }
    // Tensor.cpp
    #include "Tensor.hh"
    // Implementation of Tensor.hh
    // Kernel.hh
    #include "Tensor.hh"
    template <class T>
    class Kernel : public Tensor<T> {
       /* declarations */
    }
    // Kernel.cpp
    #include "Kernel.hh"
    // Implementation of Kernel.hh
Is it possible to use a pointer to "Kernel" as parameter of a "Tensor" method? Something like:
    template <class T>
    void Tensor<T>::foo(Kernel<T>* kernel) {
        // Do something...
    }
 
     
     
    