[Bug c++/58449] templated cast operator and failed template deduction on copy initialization

gcc-im5revto at tobiasrenger dot name gcc-bugzilla@gcc.gnu.org
Tue Nov 3 06:27:24 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58449

Tobias Renger <gcc-im5revto at tobiasrenger dot name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gcc-im5revto at tobiasrenger dot n
                   |                            |ame

--- Comment #2 from Tobias Renger <gcc-im5revto at tobiasrenger dot name> ---
> I'm not exactly sure if the standard allows the line "S s = a;" in this case

I know this says nothing about standard conformance but both code examples
compile fine with clang 11.0.0 so this could actually be a bug in GCC.


More information about the Gcc-bugs mailing list