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.

Reply via email to