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

2019-10-08 Thread fgsimperium at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87820 --- Comment #2 from Francisco Gallego Salido --- (In reply to ExtComm.CODA from comment #1) > clang and intel-compiler don't fail Btw I've just realized that the example is wrong, because the class has only default constructor and I'm initializ

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

2018-10-30 Thread fgsimperium at hotmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fgsimperium at hotmail dot com Target Milestone: --- Let's consider this class definition: template class Test{ p