[C++ RFH / Patch] PR 53159

Paolo Carlini paolo.carlini@oracle.com
Tue May 22 17:28:00 GMT 2012


On 05/22/2012 07:02 PM, Jason Merrill wrote:
> 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.
Thanks, now I understand the general idea.

Paolo.



More information about the Gcc-patches mailing list