This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14007] [3.3/3.4/3.5 Regression] Incorrect use of const partial specialization for reference template argument
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Feb 2004 20:22:10 -0000
- Subject: [Bug c++/14007] [3.3/3.4/3.5 Regression] Incorrect use of const partial specialization for reference template argument
- References: <20040203195712.14007.austern@apple.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-02-03 20:22 -------
Or, still simpler:
------------------
template <typename T> struct X {};
template <typename T> struct X<const T>;
template struct X<int&>;
------------------
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14007