[Bug c++/104733] [12 Regression] Likely rejects valid since r12-6022-gbb2a7f80a98de3fe
ppalka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Mar 1 14:52:46 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104733
--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Created attachment 52538
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52538&action=edit
diff for py.ii
(In reply to Martin Liška from comment #4)
> Created attachment 52537 [details]
> Original source file
>
> Can you please help me with how to modify the original source code so that
> it compiles fine? Thanks.
One way is to move the operator* overloads for pythonic::types::str/chr into
the pythonic::types namespace and out of the global namespace so that ADL finds
it, such as in the attached diff.
More information about the Gcc-bugs
mailing list