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