https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69782

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #4)
> it can be less than trivial.  A fairly easy way to avoid having to deal with
> the problem in libstdc++ is to enclose every call to min and max in public
> libstdc++ headers in parentheses: z = (min)(x, y).

That doesn't help for std::numeric_limits<int>::min()

Reply via email to