[Bug c++/9126] g++ incorrectly prefers non-template user-defined conversion operator

nathan at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Dec 2 10:22:00 GMT 2004


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



More information about the Gcc-bugs mailing list