Boost logo

Boost Users :

From: Charles Schwartz (yg-boost-users_at_[hidden])
Date: 2003-09-03 12:13:28


win32.hpp has using std::min and using std::max directives. (win32.hpp in
fact overrides these functions).

These directives hinder use of the max function elsewhere in a client
program, for example, by #included c libraries, which are expecting to use
the global (non overridden) max function.

Indeed, Sutter's More Exceptional C++ #40 (p. 236) asserts that using
directives/declerations should never appear in any headers (certainly not at
file scope!).

Will this be removed in future releases?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net