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

Private GIT Repository
3fcd5433ff09914983d99929c347cb8a9f665524
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / config / stdlib / sgi.hpp
1 //  (C) Copyright John Maddock 2001 - 2003. \r
2 //  (C) Copyright Darin Adler 2001. \r
3 //  (C) Copyright Jens Maurer 2001 - 2003. \r
4 //  Use, modification and distribution are subject to the \r
5 //  Boost Software License, Version 1.0. (See accompanying file \r
6 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)\r
7 \r
8 //  See http://www.boost.org for most recent version.\r
9 \r
10 //  generic SGI STL:\r
11 \r
12 #if !defined(__STL_CONFIG_H)\r
13 #  include <boost/config/no_tr1/utility.hpp>\r
14 #  if !defined(__STL_CONFIG_H)\r
15 #      error "This is not the SGI STL!"\r
16 #  endif\r
17 #endif\r
18 \r
19 //\r
20 // No std::iterator traits without partial specialisation:\r
21 //\r
22 #if !defined(__STL_CLASS_PARTIAL_SPECIALIZATION)\r
23 #  define BOOST_NO_STD_ITERATOR_TRAITS\r
24 #endif\r
25 \r
26 //\r
27 // No std::stringstream with gcc < 3\r
28 //\r
29 #if defined(__GNUC__) && (__GNUC__ < 3) && \\r
30      ((__GNUC_MINOR__ < 95) || (__GNUC_MINOR__ == 96)) && \\r
31      !defined(__STL_USE_NEW_IOSTREAMS) || \\r
32    defined(__APPLE_CC__)\r
33    // Note that we only set this for GNU C++ prior to 2.95 since the\r
34    // latest patches for that release do contain a minimal <sstream>\r
35    // If you are running a 2.95 release prior to 2.95.3 then this will need\r
36    // setting, but there is no way to detect that automatically (other\r
37    // than by running the configure script).\r
38    // Also, the unofficial GNU C++ 2.96 included in RedHat 7.1 doesn't\r
39    // have <sstream>.\r
40 #  define BOOST_NO_STRINGSTREAM\r
41 #endif\r
42 \r
43 //\r
44 // Assume no std::locale without own iostreams (this may be an\r
45 // incorrect assumption in some cases):\r
46 //\r
47 #if !defined(__SGI_STL_OWN_IOSTREAMS) && !defined(__STL_USE_NEW_IOSTREAMS)\r
48 #  define BOOST_NO_STD_LOCALE\r
49 #endif\r
50 \r
51 //\r
52 // Original native SGI streams have non-standard std::messages facet:\r
53 //\r
54 #if defined(__sgi) && (_COMPILER_VERSION <= 650) && !defined(__SGI_STL_OWN_IOSTREAMS)\r
55 #  define BOOST_NO_STD_LOCALE\r
56 #endif\r
57 \r
58 //\r
59 // SGI's new iostreams have missing "const" in messages<>::open\r
60 //\r
61 #if defined(__sgi) && (_COMPILER_VERSION <= 740) && defined(__STL_USE_NEW_IOSTREAMS)\r
62 #  define BOOST_NO_STD_MESSAGES\r
63 #endif\r
64 \r
65 //\r
66 // No template iterator constructors, or std::allocator\r
67 // without member templates:\r
68 //\r
69 #if !defined(__STL_MEMBER_TEMPLATES)\r
70 #  define BOOST_NO_TEMPLATED_ITERATOR_CONSTRUCTORS\r
71 #  define BOOST_NO_STD_ALLOCATOR\r
72 #endif\r
73 \r
74 //\r
75 // We always have SGI style hash_set, hash_map, and slist:\r
76 //\r
77 #define BOOST_HAS_HASH\r
78 #define BOOST_HAS_SLIST\r
79 \r
80 //\r
81 // If this is GNU libstdc++2, then no <limits> and no std::wstring:\r
82 //\r
83 #if (defined(__GNUC__) && (__GNUC__ < 3))\r
84 #  include <string>\r
85 #  if defined(__BASTRING__)\r
86 #     define BOOST_NO_LIMITS\r
87 // Note: <boost/limits.hpp> will provide compile-time constants\r
88 #     undef BOOST_NO_LIMITS_COMPILE_TIME_CONSTANTS\r
89 #     define BOOST_NO_STD_WSTRING\r
90 #  endif\r
91 #endif\r
92 \r
93 //\r
94 // There is no standard iterator unless we have namespace support:\r
95 //\r
96 #if !defined(__STL_USE_NAMESPACES)\r
97 #  define BOOST_NO_STD_ITERATOR\r
98 #endif\r
99 \r
100 //\r
101 // Intrinsic type_traits support.\r
102 // The SGI STL has it's own __type_traits class, which\r
103 // has intrinsic compiler support with SGI's compilers.\r
104 // Whatever map SGI style type traits to boost equivalents:\r
105 //\r
106 #define BOOST_HAS_SGI_TYPE_TRAITS\r
107 \r
108 //  C++0x headers not yet implemented\r
109 //\r
110 #  define BOOST_NO_0X_HDR_ARRAY\r
111 #  define BOOST_NO_0X_HDR_CHRONO\r
112 #  define BOOST_NO_0X_HDR_CODECVT\r
113 #  define BOOST_NO_0X_HDR_CONCEPTS\r
114 #  define BOOST_NO_0X_HDR_CONDITION_VARIABLE\r
115 #  define BOOST_NO_0X_HDR_CONTAINER_CONCEPTS\r
116 #  define BOOST_NO_0X_HDR_FORWARD_LIST\r
117 #  define BOOST_NO_0X_HDR_FUTURE\r
118 #  define BOOST_NO_0X_HDR_INITIALIZER_LIST\r
119 #  define BOOST_NO_0X_HDR_ITERATOR_CONCEPTS\r
120 #  define BOOST_NO_0X_HDR_MEMORY_CONCEPTS\r
121 #  define BOOST_NO_0X_HDR_MUTEX\r
122 #  define BOOST_NO_0X_HDR_RANDOM\r
123 #  define BOOST_NO_0X_HDR_RATIO\r
124 #  define BOOST_NO_0X_HDR_REGEX\r
125 #  define BOOST_NO_0X_HDR_SYSTEM_ERROR\r
126 #  define BOOST_NO_0X_HDR_THREAD\r
127 #  define BOOST_NO_0X_HDR_TUPLE\r
128 #  define BOOST_NO_0X_HDR_TYPE_TRAITS\r
129 #  define BOOST_NO_STD_UNORDERED        // deprecated; see following\r
130 #  define BOOST_NO_0X_HDR_UNORDERED_MAP\r
131 #  define BOOST_NO_0X_HDR_UNORDERED_SET\r
132 \r
133 #define BOOST_STDLIB "SGI standard library"\r
134 \r
135 \r
136 \r