[Bug c++/44896] Problem with SFINAE and ambiguous base

2010-07-09 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2010-07-09 22:09 --- PS: I will provide with __is_convertible_to an xfailed testcase inspired from is_constructible instead, where definitely SFINAE applies, unless there are access control issues. -- http://gcc.gnu.org/bugzil

[Bug c++/44896] Problem with SFINAE and ambiguous base

2010-07-09 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-07-09 21:46 --- Indeed. Thus, I don't think I really have any special SFINAE issue to point out, at the moment. Maybe is_constructible will be more tricky. -- paolo dot carlini at oracle dot com changed: What

[Bug c++/44896] Problem with SFINAE and ambiguous base

2010-07-09 Thread jason at gcc dot gnu dot org
--- Comment #1 from jason at gcc dot gnu dot org 2010-07-09 21:11 --- No, SFINAE should not apply here, because the ambiguous conversion is not in the context of template argument deduction. See PR 41468 for some similar ambiguity issues that I fixed last month. -- http://gcc.gnu.o