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