This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ RFH / Patch] PR 53159


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]