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++/31951] local structure problem



------- Comment #4 from redi at gcc dot gnu dot org  2009-10-05 14:58 -------
14.3.1 [temp.arg.type] paragraph 2 in the current C++ standard says:

    A type without linkage (3.5) shall not be used as a template argument for a
template type parameter. 

This is changing for C++0x, based on the proposal
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm


-- 


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


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