This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: PR 58148 patch


2013/8/27 Paolo Carlini <paolo.carlini@oracle.com>:
> On 08/27/2013 10:34 PM, François Dumont wrote:
>>
>>
>>     As you seem to be more concern by the usage of experimental
>> std::common_type than by the usage of const volatile void*I would like to
>> propose the attached patch.
>
> I don't think we should do that either. For example, if we are using
> std::less & co to accommodate for segmented memory etc, I don't think we
> should reduce all sorts of pointers to void* pointers, otherwise we could as
> well use < & co. No, for 4.9.0 let's do something simple and safe.

Wouldn't it solve the problem, if decltype(*it) is implicitly
convertible to the value type? [I'm sorry, if I missed the essential
context here]

- Daniel


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