1 // PR c++/46277 2 3 class ggRGBE { 4 public: 5 ggRGBE(); 6 }; 7 template <class T> class ggIO 8 { 9 void readbody(int); 10 ggRGBE *scanline; 11 }; 12 template <class T> void readbody(int width)13 ggIO<T>::readbody(int width) 14 { 15 scanline = new ggRGBE[width]; 16 } 17