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 09/20/2012 01:55 PM, Marc Glisse wrote:
The reason I am asking is that if I add ?: support for vector types (à la OpenCL), with "if" std::max will still fail on vectors, but with ?: it would suddenly become accepted.
So I went ahead and tested the below - I'll apply it later - as a tiny-tiny encouragement ;)

Thanks,
Paolo.

/////////////////////

Attachment: CL
Description: Text document

Attachment: patchlet
Description: Text document


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