123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- #ifndef BOOST_PHOENIX_CONFIG_HPP
- #define BOOST_PHOENIX_CONFIG_HPP
- #include <boost/config.hpp>
- #include <boost/detail/workaround.hpp>
- #ifdef _LIBCPP_VERSION
- #define BOOST_PHOENIX_USING_LIBCPP
- #endif
- #if defined(BOOST_PHOENIX_USING_LIBCPP) \
- && !(defined(BOOST_NO_CXX11_HDR_UNORDERED_MAP) || defined(BOOST_NO_CXX11_HDR_UNORDERED_SET))
- #define BOOST_PHOENIX_HAS_UNORDERED_SET_AND_MAP
- #define BOOST_PHOENIX_UNORDERED_SET_HEADER <unordered_set>
- #define BOOST_PHOENIX_UNORDERED_MAP_HEADER <unordered_map>
- #define BOOST_PHOENIX_UNORDERED_NAMESPACE std
- #endif
- #if defined(BOOST_HAS_HASH)
- #define _GLIBCXX_PERMIT_BACKWARD_HASH
- #define BOOST_PHOENIX_HASH_SET_HEADER BOOST_HASH_SET_HEADER
- #define BOOST_PHOENIX_HASH_MAP_HEADER BOOST_HASH_MAP_HEADER
- #define BOOST_PHOENIX_HAS_HASH
- #define BOOST_PHOENIX_HASH_NAMESPACE BOOST_STD_EXTENSION_NAMESPACE
- #define BOOST_PHOENIX_HASH_template_rest_param class Hash, class Cmp, class Alloc
- #define BOOST_PHOENIX_HASH_type_rest_param Hash, Cmp, Alloc
- #elif defined(BOOST_DINKUMWARE_STDLIB) && (BOOST_DINKUMWARE_STDLIB < 610)
- #define BOOST_PHOENIX_HASH_SET_HEADER <hash_set>
- #define BOOST_PHOENIX_HASH_MAP_HEADER <hash_map>
- #define BOOST_PHOENIX_HAS_HASH
- #define BOOST_PHOENIX_HASH_NAMESPACE stdext
- #define BOOST_PHOENIX_HASH_template_rest_param class Tr, class Alloc
- #define BOOST_PHOENIX_HASH_type_rest_param Tr, Alloc
- #endif
- #if BOOST_WORKAROUND(BOOST_GCC, < 40100)
- #define BOOST_PHOENIX_SFINAE_AND_OVERLOADS , void* = 0
- #else
- #define BOOST_PHOENIX_SFINAE_AND_OVERLOADS
- #endif
- #endif
|