This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/9126] g++ incorrectly prefers non-template user-defined conversion operator
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2004 10:22:27 -0000
- Subject: [Bug c++/9126] g++ incorrectly prefers non-template user-defined conversion operator
- References: <20030102021602.9126.martin@xemacs.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From nathan at gcc dot gnu dot org 2004-12-02 10:22 -------
I cannot find words in the std that justifies selecting the template function.
The list in [13.3.3] has the template/non template check *before* the
return type conversion sequence check.
I have asked EDG for an opinion
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9126