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++/37066] partial specialization of function depends on the order



------- 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


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