[C++ RFH / Patch] PR 53159

Jason Merrill jason@redhat.com
Tue May 22 17:02:00 GMT 2012


On 05/22/2012 12:52 PM, Paolo Carlini wrote:
> Let's see if I understand in detail the structure of the new function
> (beyond all the simplifications possible because the target is a scalar,
> etc): we want something quite similar to implicit_conversion, but at the
> end of it, instead of using build_user_type_conversion_1 - which returns
> a conversion and implies that the caller passes it to convert_like_real
> - something like build_user_type_conversion (maybe exactly
> build_user_type_conversion) Do I understand correctly?

We want to call convert_like_real on the conversion sequence in "conv" 
at the end of build_user_type_conversion_1: that is, the conversion 
sequence before the call to merge_conversion_sequences.

Jason



More information about the Gcc-patches mailing list