File indexing completed on 2025-01-18 09:47:48
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_PHOENIX_CONFIG_HPP
0011 #define BOOST_PHOENIX_CONFIG_HPP
0012
0013 #include <boost/config.hpp>
0014 #include <boost/detail/workaround.hpp>
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040 #ifdef _LIBCPP_VERSION
0041 #define BOOST_PHOENIX_USING_LIBCPP
0042 #endif
0043
0044
0045
0046 #if defined(BOOST_PHOENIX_USING_LIBCPP) \
0047 && !(defined(BOOST_NO_CXX11_HDR_UNORDERED_MAP) || defined(BOOST_NO_CXX11_HDR_UNORDERED_SET))
0048
0049 #define BOOST_PHOENIX_HAS_UNORDERED_SET_AND_MAP
0050 #define BOOST_PHOENIX_UNORDERED_SET_HEADER <unordered_set>
0051 #define BOOST_PHOENIX_UNORDERED_MAP_HEADER <unordered_map>
0052 #define BOOST_PHOENIX_UNORDERED_NAMESPACE std
0053 #endif
0054
0055 #if defined(BOOST_HAS_HASH)
0056
0057
0058
0059 #define _GLIBCXX_PERMIT_BACKWARD_HASH
0060 #define BOOST_PHOENIX_HASH_SET_HEADER BOOST_HASH_SET_HEADER
0061 #define BOOST_PHOENIX_HASH_MAP_HEADER BOOST_HASH_MAP_HEADER
0062 #define BOOST_PHOENIX_HAS_HASH
0063 #define BOOST_PHOENIX_HASH_NAMESPACE BOOST_STD_EXTENSION_NAMESPACE
0064 #define BOOST_PHOENIX_HASH_template_rest_param class Hash, class Cmp, class Alloc
0065 #define BOOST_PHOENIX_HASH_type_rest_param Hash, Cmp, Alloc
0066 #elif defined(BOOST_DINKUMWARE_STDLIB) && (BOOST_DINKUMWARE_STDLIB < 610)
0067 #define BOOST_PHOENIX_HASH_SET_HEADER <hash_set>
0068 #define BOOST_PHOENIX_HASH_MAP_HEADER <hash_map>
0069 #define BOOST_PHOENIX_HAS_HASH
0070 #define BOOST_PHOENIX_HASH_NAMESPACE stdext
0071 #define BOOST_PHOENIX_HASH_template_rest_param class Tr, class Alloc
0072 #define BOOST_PHOENIX_HASH_type_rest_param Tr, Alloc
0073 #endif
0074
0075 #if BOOST_WORKAROUND(BOOST_GCC, < 40100)
0076 #define BOOST_PHOENIX_SFINAE_AND_OVERLOADS , void* = 0
0077 #else
0078 #define BOOST_PHOENIX_SFINAE_AND_OVERLOADS
0079 #endif
0080
0081 #endif