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: std::max: if versus ?:


On Sun, Sep 23, 2012 at 9:49 AM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> On 09/23/2012 04:37 PM, Marc Glisse wrote:
>>
>> On Sun, 23 Sep 2012, Paolo Carlini wrote:
>>
>>> .. guys, let me know if you want me to revert the change. IMHO, however,
>>> somewhere else something is wrong if using a conditional operator instead of
>>> an 'if' as implementation detail causes troubles with the vector extension.
>>
>>
>> Thanks Paolo. It doesn't cause trouble, it's just that it doesn't help as
>> much as I hoped.
>
> Understood. But whatever we do in this area, let's *please* manage to avoid
> changing std::max to what you just posted...
>
> Paolo.


I think I have a preference for reverting the patch.

-- Gaby


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