This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14761] Fails to link when static member variable of the class template is defined with the default value


------- Additional Comments From ikm at pisem dot net  2004-03-28 18:00 -------
It seems the compiler's behaviour is correct: ISO/IEC 14882 (14.7.3.15) says
that an explicit specialization of a static data member of a template is a
definition only when it includes an initializer. There is no syntax to define it
with default value.

So this was my misunderstanding, sorry to bug you people.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
            Version|3.3.3                       |unknown


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]