On Sat, 21 Apr 2001, Peter Ajamian wrote: > George Greer wrote: >> The functions cause signed/unsigned problems but those can get compiler >> warnings. > >Wouldn't it be better if it just worked? Between subtle run-time failure and compiler warning, I'll take the latter. You can at least tolerate a SMAX/UMAX combination for cases where it matters. Clean? Not really, but better than confusing yourself with extra side-effects, especially since 'b++' is only a trivial example. -- George Greer greerga@circlemud.org -- +---------------------------------------------------------------+ | 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