Revert to using <utility> for std lib detection for now, TR1 will have to do something different.

[SVN r31341]
This commit is contained in:
John Maddock committed 2005-10-16 11:43:26 +00:00
1 parent 18bfd50438
commit ea654649f1
7 files changed
+8 -13

No files matched your search

@@ -12,17 +12,12 @@
// locate which std lib we are using and define BOOST_STDLIB_CONFIG as needed:
// we need to include a std lib header here in order to detect which
// library is in use, use <iosfwd> and <limits> as they're about the smallest
// library is in use, use <utility> as it's about the smallest
// of the std lib headers - do not rely on this header being included -
// users can short-circuit this header if they know whose std lib
// they are using.
// PLEASE NOTE that the config system must not include any of the headers
// that are modified by TR1 (<memory>, <functional> or <utility>) not even
// indirectly. If they do so then the Boost TR1 implementation will be unusable.
//
#include <iosfwd>
#include <limits>
#include <utility>
#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
// STLPort library; this _must_ come first, otherwise since