1 template<class T> 2 struct A { 3 typedef T* iterator; // ERROR - pointer to reference 4 public: AA5 A(){} 6 }; 7 f()8 void f() 9 { 10 A<int&> a; 11 } 12