1 | //----------------------------------------------------------------------------- |
---|
2 | // boost variant/detail/config.hpp header file |
---|
3 | // See http://www.boost.org for updates, documentation, and revision history. |
---|
4 | //----------------------------------------------------------------------------- |
---|
5 | // |
---|
6 | // Copyright (c) 2003 |
---|
7 | // Eric Friedman |
---|
8 | // |
---|
9 | // Distributed under the Boost Software License, Version 1.0. (See |
---|
10 | // accompanying file LICENSE_1_0.txt or copy at |
---|
11 | // http://www.boost.org/LICENSE_1_0.txt) |
---|
12 | |
---|
13 | #ifndef BOOST_VARIANT_DETAIL_CONFIG_HPP |
---|
14 | #define BOOST_VARIANT_DETAIL_CONFIG_HPP |
---|
15 | |
---|
16 | #include "boost/config.hpp" |
---|
17 | #include "boost/detail/workaround.hpp" |
---|
18 | |
---|
19 | /////////////////////////////////////////////////////////////////////////////// |
---|
20 | // macro BOOST_VARIANT_AUX_BROKEN_CONSTRUCTOR_TEMPLATE_ORDERING |
---|
21 | // |
---|
22 | #if BOOST_WORKAROUND(__MWERKS__, <= 0x3201) \ |
---|
23 | || BOOST_WORKAROUND(BOOST_INTEL, <= 700) \ |
---|
24 | || BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \ |
---|
25 | && !defined(BOOST_VARIANT_AUX_BROKEN_CONSTRUCTOR_TEMPLATE_ORDERING) |
---|
26 | # define BOOST_VARIANT_AUX_BROKEN_CONSTRUCTOR_TEMPLATE_ORDERING |
---|
27 | #endif |
---|
28 | |
---|
29 | /////////////////////////////////////////////////////////////////////////////// |
---|
30 | // macro BOOST_VARIANT_AUX_HAS_CONSTRUCTOR_TEMPLATE_ORDERING_SFINAE_WKND |
---|
31 | // |
---|
32 | #if !defined(BOOST_NO_SFINAE) \ |
---|
33 | && !BOOST_WORKAROUND(BOOST_INTEL, <= 700) \ |
---|
34 | && !defined(BOOST_VARIANT_AUX_HAS_CONSTRUCTOR_TEMPLATE_ORDERING_SFINAE_WKND) |
---|
35 | # define BOOST_VARIANT_AUX_HAS_CONSTRUCTOR_TEMPLATE_ORDERING_SFINAE_WKND |
---|
36 | #endif |
---|
37 | |
---|
38 | #endif // BOOST_VARIANT_DETAIL_CONFIG_HPP |
---|