public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "lerdsuwa at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/19569] no code for explicit instantiation of template class specialization Date: Mon, 24 Jan 2005 14:27:00 -0000 [thread overview] Message-ID: <20050124142712.3403.qmail@sourceware.org> (raw) In-Reply-To: <20050121181213.19569.jamesp@trdlnk.com> ------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-24 14:27 ------- There is a defect report DR259 about this issue: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#259 According to the DR, the original standard mentions that the instantiation: template class A<char>; is invalid because there is already a specialization template <> class A<char> { ... }; declared earlier. In the revised version of the standard, which includes the resolution of this DR, the instantiation is ignored. Recent GCC releases follow this behavior. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19569
next prev parent reply other threads:[~2005-01-24 14:27 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-01-21 18:12 [Bug c++/19569] New: " jamesp at trdlnk dot com 2005-01-22 18:37 ` [Bug c++/19569] " bangerth at dealii dot org 2005-01-24 14:03 ` jamesp at trdlnk dot com 2005-01-24 14:27 ` lerdsuwa at gcc dot gnu dot org [this message] 2005-01-24 14:30 ` pinskia at gcc dot gnu dot org 2005-01-24 14:56 ` jamesp at trdlnk dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050124142712.3403.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).