#pragma once #include "base.h" template struct Derived : Base { void g() { f(); } int h() { return i; } };