1class Foo; 2 3template <typename T> 4struct RefPtr { 5 T* m_inner; 6}; 7 8struct Bar { 9 RefPtr<Foo> m_member; 10}; 11