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: RFC: Use std::{min,max} instead of MIN/MAX?


On Fri, Jul 10, 2015 at 03:35:57PM -0400, Trevor Saunders wrote:
> You can also explicitly pick the specialization you want with e.g.
> std::max<long long> (x, y); its kind of long, but I can see an argument
> for the explicitness so I'm not sure how ugly I think it is.

Thanks for pointing this out.  Yea, that'd be an option, though I don't
think people would be too happy about that.

	Marek


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