sl@0
|
1 |
// (C) Copyright John Maddock 2001 - 2003.
|
sl@0
|
2 |
// (C) Copyright Jens Maurer 2001.
|
sl@0
|
3 |
// (C) Copyright Peter Dimov 2001.
|
sl@0
|
4 |
// (C) Copyright David Abrahams 2002.
|
sl@0
|
5 |
// (C) Copyright Guillaume Melquiond 2003.
|
sl@0
|
6 |
// Use, modification and distribution are subject to the
|
sl@0
|
7 |
// Boost Software License, Version 1.0. (See accompanying file
|
sl@0
|
8 |
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
sl@0
|
9 |
|
sl@0
|
10 |
// See http://www.boost.org for most recent version.
|
sl@0
|
11 |
|
sl@0
|
12 |
// Dinkumware standard library config:
|
sl@0
|
13 |
|
sl@0
|
14 |
#if !defined(_YVALS) && !defined(_CPPLIB_VER)
|
sl@0
|
15 |
#include <boost/config/no_tr1/utility.hpp>
|
sl@0
|
16 |
#if !defined(_YVALS) && !defined(_CPPLIB_VER)
|
sl@0
|
17 |
#error This is not the Dinkumware lib!
|
sl@0
|
18 |
#endif
|
sl@0
|
19 |
#endif
|
sl@0
|
20 |
|
sl@0
|
21 |
|
sl@0
|
22 |
#if defined(_CPPLIB_VER) && (_CPPLIB_VER >= 306)
|
sl@0
|
23 |
// full dinkumware 3.06 and above
|
sl@0
|
24 |
// fully conforming provided the compiler supports it:
|
sl@0
|
25 |
# if !(defined(_GLOBAL_USING) && (_GLOBAL_USING+0 > 0)) && !defined(__BORLANDC__) && !defined(_STD) && !(defined(__ICC) && (__ICC >= 700)) // can be defined in yvals.h
|
sl@0
|
26 |
# define BOOST_NO_STDC_NAMESPACE
|
sl@0
|
27 |
# endif
|
sl@0
|
28 |
# if !(defined(_HAS_MEMBER_TEMPLATES_REBIND) && (_HAS_MEMBER_TEMPLATES_REBIND+0 > 0)) && !(defined(_MSC_VER) && (_MSC_VER > 1300)) && defined(BOOST_MSVC)
|
sl@0
|
29 |
# define BOOST_NO_STD_ALLOCATOR
|
sl@0
|
30 |
# endif
|
sl@0
|
31 |
# define BOOST_HAS_PARTIAL_STD_ALLOCATOR
|
sl@0
|
32 |
# if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)
|
sl@0
|
33 |
// if this lib version is set up for vc6 then there is no std::use_facet:
|
sl@0
|
34 |
# define BOOST_NO_STD_USE_FACET
|
sl@0
|
35 |
# define BOOST_HAS_TWO_ARG_USE_FACET
|
sl@0
|
36 |
// C lib functions aren't in namespace std either:
|
sl@0
|
37 |
# define BOOST_NO_STDC_NAMESPACE
|
sl@0
|
38 |
// and nor is <exception>
|
sl@0
|
39 |
# define BOOST_NO_EXCEPTION_STD_NAMESPACE
|
sl@0
|
40 |
# endif
|
sl@0
|
41 |
// There's no numeric_limits<long long> support unless _LONGLONG is defined:
|
sl@0
|
42 |
# if !defined(_LONGLONG) && (_CPPLIB_VER <= 310)
|
sl@0
|
43 |
# define BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
sl@0
|
44 |
# endif
|
sl@0
|
45 |
// 3.06 appears to have (non-sgi versions of) <hash_set> & <hash_map>,
|
sl@0
|
46 |
// and no <slist> at all
|
sl@0
|
47 |
#else
|
sl@0
|
48 |
# define BOOST_MSVC_STD_ITERATOR 1
|
sl@0
|
49 |
# define BOOST_NO_STD_ITERATOR
|
sl@0
|
50 |
# define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS
|
sl@0
|
51 |
# define BOOST_NO_STD_ALLOCATOR
|
sl@0
|
52 |
# define BOOST_NO_STDC_NAMESPACE
|
sl@0
|
53 |
# define BOOST_NO_STD_USE_FACET
|
sl@0
|
54 |
# define BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN
|
sl@0
|
55 |
# define BOOST_HAS_MACRO_USE_FACET
|
sl@0
|
56 |
# ifndef _CPPLIB_VER
|
sl@0
|
57 |
// Updated Dinkum library defines this, and provides
|
sl@0
|
58 |
// its own min and max definitions.
|
sl@0
|
59 |
# define BOOST_NO_STD_MIN_MAX
|
sl@0
|
60 |
# define BOOST_NO_MS_INT64_NUMERIC_LIMITS
|
sl@0
|
61 |
# endif
|
sl@0
|
62 |
#endif
|
sl@0
|
63 |
|
sl@0
|
64 |
//
|
sl@0
|
65 |
// std extension namespace is stdext for vc7.1 and later,
|
sl@0
|
66 |
// the same applies to other compilers that sit on top
|
sl@0
|
67 |
// of vc7.1 (Intel and Comeau):
|
sl@0
|
68 |
//
|
sl@0
|
69 |
#if defined(_MSC_VER) && (_MSC_VER >= 1310) && !defined(__BORLANDC__)
|
sl@0
|
70 |
# define BOOST_STD_EXTENSION_NAMESPACE stdext
|
sl@0
|
71 |
#endif
|
sl@0
|
72 |
|
sl@0
|
73 |
|
sl@0
|
74 |
#if (defined(_MSC_VER) && (_MSC_VER <= 1300) && !defined(__BORLANDC__)) || !defined(_CPPLIB_VER) || (_CPPLIB_VER < 306)
|
sl@0
|
75 |
// if we're using a dinkum lib that's
|
sl@0
|
76 |
// been configured for VC6/7 then there is
|
sl@0
|
77 |
// no iterator traits (true even for icl)
|
sl@0
|
78 |
# define BOOST_NO_STD_ITERATOR_TRAITS
|
sl@0
|
79 |
#endif
|
sl@0
|
80 |
|
sl@0
|
81 |
#if defined(__ICL) && (__ICL < 800) && defined(_CPPLIB_VER) && (_CPPLIB_VER <= 310)
|
sl@0
|
82 |
// Intel C++ chokes over any non-trivial use of <locale>
|
sl@0
|
83 |
// this may be an overly restrictive define, but regex fails without it:
|
sl@0
|
84 |
# define BOOST_NO_STD_LOCALE
|
sl@0
|
85 |
#endif
|
sl@0
|
86 |
|
sl@0
|
87 |
#ifdef _CPPLIB_VER
|
sl@0
|
88 |
# define BOOST_DINKUMWARE_STDLIB _CPPLIB_VER
|
sl@0
|
89 |
#else
|
sl@0
|
90 |
# define BOOST_DINKUMWARE_STDLIB 1
|
sl@0
|
91 |
#endif
|
sl@0
|
92 |
|
sl@0
|
93 |
#ifdef _CPPLIB_VER
|
sl@0
|
94 |
# define BOOST_STDLIB "Dinkumware standard library version " BOOST_STRINGIZE(_CPPLIB_VER)
|
sl@0
|
95 |
#else
|
sl@0
|
96 |
# define BOOST_STDLIB "Dinkumware standard library version 1.x"
|
sl@0
|
97 |
#endif
|
sl@0
|
98 |
|
sl@0
|
99 |
|
sl@0
|
100 |
|
sl@0
|
101 |
|
sl@0
|
102 |
|
sl@0
|
103 |
|
sl@0
|
104 |
|
sl@0
|
105 |
|
sl@0
|
106 |
|