This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31951] local structure problem
- From: "redi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Oct 2009 14:58:39 -0000
- Subject: [Bug c++/31951] local structure problem
- References: <bug-31951-14554@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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