class Foo; template struct RefPtr { T* m_inner; }; struct Bar { RefPtr m_member; };