This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37066] partial specialization of function depends on the order
- From: "marc dot glisse at normalesup dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Aug 2008 10:50:18 -0000
- Subject: [Bug c++/37066] partial specialization of function depends on the order
- References: <bug-37066-6008@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from marc dot glisse at normalesup dot org 2008-08-10 10:50 -------
Hmm apparently partial specialization of function does not exist. Depending on
the order, the full specialization is considered either as a specialization of
the first declaration or of the HELLO2 one. Now the question is whether the
existence of a full specialization of the first declaration should give it
priority over an overload (that is more specific than the declaration but less
than the specialization).
I'll need to look at the standard for the answer (if someone knows it...).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37066