os/ossrv/ossrv_pub/boost_apis/boost/config/stdlib/dinkumware.hpp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/config/stdlib/dinkumware.hpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,106 @@
     1.4 +//  (C) Copyright John Maddock 2001 - 2003.
     1.5 +//  (C) Copyright Jens Maurer 2001.
     1.6 +//  (C) Copyright Peter Dimov 2001.
     1.7 +//  (C) Copyright David Abrahams 2002.
     1.8 +//  (C) Copyright Guillaume Melquiond 2003.
     1.9 +//  Use, modification and distribution are subject to the
    1.10 +//  Boost Software License, Version 1.0. (See accompanying file
    1.11 +//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
    1.12 +
    1.13 +//  See http://www.boost.org for most recent version.
    1.14 +
    1.15 +//  Dinkumware standard library config:
    1.16 +
    1.17 +#if !defined(_YVALS) && !defined(_CPPLIB_VER)
    1.18 +#include <boost/config/no_tr1/utility.hpp>
    1.19 +#if !defined(_YVALS) && !defined(_CPPLIB_VER)
    1.20 +#error This is not the Dinkumware lib!
    1.21 +#endif
    1.22 +#endif
    1.23 +
    1.24 +
    1.25 +#if defined(_CPPLIB_VER) && (_CPPLIB_VER >= 306)
    1.26 +   // full dinkumware 3.06 and above
    1.27 +   // fully conforming provided the compiler supports it:
    1.28 +#  if !(defined(_GLOBAL_USING) && (_GLOBAL_USING+0 > 0)) && !defined(__BORLANDC__) && !defined(_STD) && !(defined(__ICC) && (__ICC >= 700))   // can be defined in yvals.h
    1.29 +#     define BOOST_NO_STDC_NAMESPACE
    1.30 +#  endif
    1.31 +#  if !(defined(_HAS_MEMBER_TEMPLATES_REBIND) && (_HAS_MEMBER_TEMPLATES_REBIND+0 > 0)) && !(defined(_MSC_VER) && (_MSC_VER > 1300)) && defined(BOOST_MSVC)
    1.32 +#     define BOOST_NO_STD_ALLOCATOR
    1.33 +#  endif
    1.34 +#  define BOOST_HAS_PARTIAL_STD_ALLOCATOR
    1.35 +#  if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
    1.36 +      // if this lib version is set up for vc6 then there is no std::use_facet:
    1.37 +#     define BOOST_NO_STD_USE_FACET
    1.38 +#     define BOOST_HAS_TWO_ARG_USE_FACET
    1.39 +      // C lib functions aren't in namespace std either:
    1.40 +#     define BOOST_NO_STDC_NAMESPACE
    1.41 +      // and nor is <exception>
    1.42 +#     define BOOST_NO_EXCEPTION_STD_NAMESPACE
    1.43 +#  endif
    1.44 +// There's no numeric_limits<long long> support unless _LONGLONG is defined:
    1.45 +#  if !defined(_LONGLONG) && (_CPPLIB_VER <= 310)
    1.46 +#     define BOOST_NO_MS_INT64_NUMERIC_LIMITS
    1.47 +#  endif
    1.48 +// 3.06 appears to have (non-sgi versions of) <hash_set> & <hash_map>,
    1.49 +// and no <slist> at all
    1.50 +#else
    1.51 +#  define BOOST_MSVC_STD_ITERATOR 1
    1.52 +#  define BOOST_NO_STD_ITERATOR
    1.53 +#  define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
    1.54 +#  define BOOST_NO_STD_ALLOCATOR
    1.55 +#  define BOOST_NO_STDC_NAMESPACE
    1.56 +#  define BOOST_NO_STD_USE_FACET
    1.57 +#  define BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN
    1.58 +#  define BOOST_HAS_MACRO_USE_FACET
    1.59 +#  ifndef _CPPLIB_VER
    1.60 +      // Updated Dinkum library defines this, and provides
    1.61 +      // its own min and max definitions.
    1.62 +#     define BOOST_NO_STD_MIN_MAX
    1.63 +#     define BOOST_NO_MS_INT64_NUMERIC_LIMITS
    1.64 +#  endif
    1.65 +#endif
    1.66 +
    1.67 +//
    1.68 +// std extension namespace is stdext for vc7.1 and later, 
    1.69 +// the same applies to other compilers that sit on top
    1.70 +// of vc7.1 (Intel and Comeau):
    1.71 +//
    1.72 +#if defined(_MSC_VER) && (_MSC_VER >= 1310) && !defined(__BORLANDC__)
    1.73 +#  define BOOST_STD_EXTENSION_NAMESPACE stdext
    1.74 +#endif
    1.75 +
    1.76 +
    1.77 +#if (defined(_MSC_VER) && (_MSC_VER <= 1300) && !defined(__BORLANDC__)) || !defined(_CPPLIB_VER) || (_CPPLIB_VER < 306)
    1.78 +   // if we're using a dinkum lib that's
    1.79 +   // been configured for VC6/7 then there is
    1.80 +   // no iterator traits (true even for icl)
    1.81 +#  define BOOST_NO_STD_ITERATOR_TRAITS
    1.82 +#endif
    1.83 +
    1.84 +#if defined(__ICL) && (__ICL < 800) && defined(_CPPLIB_VER) && (_CPPLIB_VER <= 310)
    1.85 +// Intel C++ chokes over any non-trivial use of <locale>
    1.86 +// this may be an overly restrictive define, but regex fails without it:
    1.87 +#  define BOOST_NO_STD_LOCALE
    1.88 +#endif
    1.89 +
    1.90 +#ifdef _CPPLIB_VER
    1.91 +#  define BOOST_DINKUMWARE_STDLIB _CPPLIB_VER
    1.92 +#else
    1.93 +#  define BOOST_DINKUMWARE_STDLIB 1
    1.94 +#endif
    1.95 +
    1.96 +#ifdef _CPPLIB_VER
    1.97 +#  define BOOST_STDLIB "Dinkumware standard library version " BOOST_STRINGIZE(_CPPLIB_VER)
    1.98 +#else
    1.99 +#  define BOOST_STDLIB "Dinkumware standard library version 1.x"
   1.100 +#endif
   1.101 +
   1.102 +
   1.103 +
   1.104 +
   1.105 +
   1.106 +
   1.107 +
   1.108 +
   1.109 +