Hi,

the standard says:

  A translation unit that includes a header shall not contain any
  macros that define names declared or defined in that header.

So it's not generally disallowed to #define min/max, but rather there
should be only exactly two places checking for this, namely <limits>
and <algorithm>. The error message should be changed accordingly.

-- 
        Falk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to