I just tried it, it is possible to do it by forward declaring `SGVector` in the header as
`template<class T> class SGVector<T>;`
and then of course including SGVector.h in the source file.