[Bug c++/87820] Explicit user-defined casting inside a template class working in implicit conversion inside function template

2019-10-09 Thread ExtComm.CODA at dlr dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87820

--- Comment #3 from ExtComm.CODA at dlr dot de ---
(In reply to Francisco Gallego Salido from comment #2)
> (In reply to ExtComm.CODA from comment #1)
> > clang and intel-compiler don't fail
> 
> And no, in clang and MSVC neither of the code snippets compile, which is
> what's supposed to happen.

 Sorry for my poor English. 'don't fail' in that context means: 'they do as
expected'

[Bug c++/55101] Invalid implicit conversion in initialization when source type is a template argument type

2019-06-21 Thread ExtComm.CODA at dlr dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55101

--- Comment #1 from ExtComm.CODA at dlr dot de ---
g++ (GCC) 7.3.0:  fails too

[Bug c++/87820] Explicit user-defined casting inside a template class working in implicit conversion inside function template

2019-06-21 Thread ExtComm.CODA at dlr dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87820

--- Comment #1 from ExtComm.CODA at dlr dot de ---
clang and intel-compiler don't fail