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++/13259] link fails, if static const is passed to a template function


------- Additional Comments From lev at cs dot technion dot ac dot il  2003-12-01 15:49 -------
(In reply to comment #2)
> The code is not valid as you still need to have declaration of T::N.

ANSI C++ allows inline initialization of const static members without their 
declaration (at least this was the state in Draft of 1996).



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


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


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