]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/config/stdlib/dinkumware.hpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
d0f984cfc08fb32bcc64ffc10aa2600e205b737d
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / config / stdlib / dinkumware.hpp
1 //  (C) Copyright John Maddock 2001 - 2003.\r
2 //  (C) Copyright Jens Maurer 2001.\r
3 //  (C) Copyright Peter Dimov 2001.\r
4 //  (C) Copyright David Abrahams 2002.\r
5 //  (C) Copyright Guillaume Melquiond 2003.\r
6 //  Use, modification and distribution are subject to the\r
7 //  Boost Software License, Version 1.0. (See accompanying file\r
8 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)\r
9 \r
10 //  See http://www.boost.org for most recent version.\r
11 \r
12 //  Dinkumware standard library config:\r
13 \r
14 #if !defined(_YVALS) && !defined(_CPPLIB_VER)\r
15 #include <boost/config/no_tr1/utility.hpp>\r
16 #if !defined(_YVALS) && !defined(_CPPLIB_VER)\r
17 #error This is not the Dinkumware lib!\r
18 #endif\r
19 #endif\r
20 \r
21 \r
22 #if defined(_CPPLIB_VER) && (_CPPLIB_VER >= 306)\r
23    // full dinkumware 3.06 and above\r
24    // fully conforming provided the compiler supports it:\r
25 #  if !(defined(_GLOBAL_USING) && (_GLOBAL_USING+0 > 0)) && !defined(__BORLANDC__) && !defined(_STD) && !(defined(__ICC) && (__ICC >= 700))   // can be defined in yvals.h\r
26 #     define BOOST_NO_STDC_NAMESPACE\r
27 #  endif\r
28 #  if !(defined(_HAS_MEMBER_TEMPLATES_REBIND) && (_HAS_MEMBER_TEMPLATES_REBIND+0 > 0)) && !(defined(_MSC_VER) && (_MSC_VER > 1300)) && defined(BOOST_MSVC)\r
29 #     define BOOST_NO_STD_ALLOCATOR\r
30 #  endif\r
31 #  define BOOST_HAS_PARTIAL_STD_ALLOCATOR\r
32 #  if defined(BOOST_MSVC) && (BOOST_MSVC < 1300)\r
33       // if this lib version is set up for vc6 then there is no std::use_facet:\r
34 #     define BOOST_NO_STD_USE_FACET\r
35 #     define BOOST_HAS_TWO_ARG_USE_FACET\r
36       // C lib functions aren't in namespace std either:\r
37 #     define BOOST_NO_STDC_NAMESPACE\r
38       // and nor is <exception>\r
39 #     define BOOST_NO_EXCEPTION_STD_NAMESPACE\r
40 #  endif\r
41 // There's no numeric_limits<long long> support unless _LONGLONG is defined:\r
42 #  if !defined(_LONGLONG) && (_CPPLIB_VER <= 310)\r
43 #     define BOOST_NO_MS_INT64_NUMERIC_LIMITS\r
44 #  endif\r
45 // 3.06 appears to have (non-sgi versions of) <hash_set> & <hash_map>,\r
46 // and no <slist> at all\r
47 #else\r
48 #  define BOOST_MSVC_STD_ITERATOR 1\r
49 #  define BOOST_NO_STD_ITERATOR\r
50 #  define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS\r
51 #  define BOOST_NO_STD_ALLOCATOR\r
52 #  define BOOST_NO_STDC_NAMESPACE\r
53 #  define BOOST_NO_STD_USE_FACET\r
54 #  define BOOST_NO_STD_OUTPUT_ITERATOR_ASSIGN\r
55 #  define BOOST_HAS_MACRO_USE_FACET\r
56 #  ifndef _CPPLIB_VER\r
57       // Updated Dinkum library defines this, and provides\r
58       // its own min and max definitions, as does MTA version.\r
59 #     ifndef __MTA__ \r
60 #        define BOOST_NO_STD_MIN_MAX\r
61 #     endif\r
62 #     define BOOST_NO_MS_INT64_NUMERIC_LIMITS\r
63 #  endif\r
64 #endif\r
65 \r
66 //\r
67 // std extension namespace is stdext for vc7.1 and later, \r
68 // the same applies to other compilers that sit on top\r
69 // of vc7.1 (Intel and Comeau):\r
70 //\r
71 #if defined(_MSC_VER) && (_MSC_VER >= 1310) && !defined(__BORLANDC__)\r
72 #  define BOOST_STD_EXTENSION_NAMESPACE stdext\r
73 #endif\r
74 \r
75 \r
76 #if (defined(_MSC_VER) && (_MSC_VER <= 1300) && !defined(__BORLANDC__)) || !defined(_CPPLIB_VER) || (_CPPLIB_VER < 306)\r
77    // if we're using a dinkum lib that's\r
78    // been configured for VC6/7 then there is\r
79    // no iterator traits (true even for icl)\r
80 #  define BOOST_NO_STD_ITERATOR_TRAITS\r
81 #endif\r
82 \r
83 #if defined(__ICL) && (__ICL < 800) && defined(_CPPLIB_VER) && (_CPPLIB_VER <= 310)\r
84 // Intel C++ chokes over any non-trivial use of <locale>\r
85 // this may be an overly restrictive define, but regex fails without it:\r
86 #  define BOOST_NO_STD_LOCALE\r
87 #endif\r
88 \r
89 //  C++0x headers implemented in 520 (as shipped by Microsoft)\r
90 //\r
91 #if !defined(_CPPLIB_VER) || _CPPLIB_VER < 520\r
92 #  define BOOST_NO_0X_HDR_ARRAY\r
93 #  define BOOST_NO_0X_HDR_CODECVT\r
94 #  define BOOST_NO_0X_HDR_FORWARD_LIST\r
95 #  define BOOST_NO_0X_HDR_INITIALIZER_LIST\r
96 #  define BOOST_NO_0X_HDR_RANDOM\r
97 #  define BOOST_NO_0X_HDR_REGEX\r
98 #  define BOOST_NO_0X_HDR_SYSTEM_ERROR\r
99 #  define BOOST_NO_0X_HDR_TYPE_TRAITS\r
100 #  define BOOST_NO_STD_UNORDERED        // deprecated; see following\r
101 #  define BOOST_NO_0X_HDR_UNORDERED_MAP\r
102 #  define BOOST_NO_0X_HDR_UNORDERED_SET\r
103 #endif\r
104 \r
105 //  C++0x headers not yet implemented\r
106 //\r
107 #  define BOOST_NO_0X_HDR_CHRONO\r
108 #  define BOOST_NO_0X_HDR_CONCEPTS\r
109 #  define BOOST_NO_0X_HDR_CONDITION_VARIABLE\r
110 #  define BOOST_NO_0X_HDR_CONTAINER_CONCEPTS\r
111 #  define BOOST_NO_0X_HDR_FUTURE\r
112 #  define BOOST_NO_0X_HDR_ITERATOR_CONCEPTS\r
113 #  define BOOST_NO_0X_HDR_MEMORY_CONCEPTS\r
114 #  define BOOST_NO_0X_HDR_MUTEX\r
115 #  define BOOST_NO_0X_HDR_RATIO\r
116 #  define BOOST_NO_0X_HDR_THREAD\r
117 #  define BOOST_NO_0X_HDR_TUPLE\r
118 \r
119 #ifdef _CPPLIB_VER\r
120 #  define BOOST_DINKUMWARE_STDLIB _CPPLIB_VER\r
121 #else\r
122 #  define BOOST_DINKUMWARE_STDLIB 1\r
123 #endif\r
124 \r
125 #ifdef _CPPLIB_VER\r
126 #  define BOOST_STDLIB "Dinkumware standard library version " BOOST_STRINGIZE(_CPPLIB_VER)\r
127 #else\r
128 #  define BOOST_STDLIB "Dinkumware standard library version 1.x"\r
129 #endif\r
130 \r
131 \r
132 \r
133 \r
134 \r
135 \r
136 \r
137 \r
138 \r