------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-22 
00:32 -------
This code is invalid, the correct way is to deal these static variables is like:
template <class T>
class ObjectPool {
   static int mutex;
};
template<> int ObjectPool<char>::mutex;

which does not ICE.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-valid-code           |ice-on-invalid-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20133

Reply via email to