Re: Using functions for MAX and MIN limits thierusability.

From: Peter Ajamian (peter@pajamian.dhs.org)
Date: 04/21/01


George Greer wrote:
>
> Consider:
>
>         int a = MAX(b++, c);


I fail to see how that has any relevence, I'm fairly sure it would work
fine if MAX were a macro.
  Perhaps you could expand?

> The functions cause signed/unsigned problems but those can get compiler
> warnings.

Wouldn't it be better if it just worked?

Regards, Peter

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST