[Bug c++/22365] Fails to link

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 8 14:22:00 GMT 2005


------- Additional Comments From bangerth at dealii dot org  2005-07-08 14:21 -------
This 
  template<> int          TT2<bool>::v1; 
only declares the existence of an explicit specialization. It does not 
define it. The standard explicitly says that to make this a definition 
you need to provide an initializer. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list