]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/fusion/include/boost/fusion/container/vector/detail/config.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / fusion / include / boost / fusion / container / vector / detail / config.hpp
1 /*=============================================================================
2 Copyright (c) 2014-2015 Kohei Takahashi
3
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #ifndef FUSION_VECTOR_CONFIG_11052014_1720
8 #define FUSION_VECTOR_CONFIG_11052014_1720
9
10 #include <boost/config.hpp>
11 #include <boost/detail/workaround.hpp>
12 #include <boost/fusion/support/config.hpp>
13
14 #if (defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) \
15 || defined(BOOST_NO_CXX11_RVALUE_REFERENCES) \
16 || defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) \
17 || defined(BOOST_NO_CXX11_DECLTYPE)) \
18 || defined(BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS) \
19 || defined(BOOST_FUSION_DISABLE_VARIADIC_VECTOR) \
20 || (defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES))
21 # if defined(BOOST_FUSION_HAS_VARIADIC_VECTOR)
22 # undef BOOST_FUSION_HAS_VARIADIC_VECTOR
23 # endif
24 #else
25 # if !defined(BOOST_FUSION_HAS_VARIADIC_VECTOR)
26 # define BOOST_FUSION_HAS_VARIADIC_VECTOR
27 # endif
28 #endif
29
30 // Sometimes, MSVC 12 shows compile error with std::size_t of template parameter.
31 #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1800))
32 # if defined(BOOST_FUSION_HAS_VARIADIC_VECTOR)
33 # undef BOOST_FUSION_HAS_VARIADIC_VECTOR
34 # endif
35 #endif
36
37 #endif
38