[Bug c++/9126] g++ incorrectly prefers non-template user-defined conversion operator
--- Additional Comments From nathan at gcc dot gnu dot org 2004-12-21 12:28 --- EDG have confirmed a bug in their implementation. G++ is correct. -- What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9126
[Bug c++/9126] g++ incorrectly prefers non-template user-defined conversion operator
--- 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