| 1 | |
| 2 | #ifndef BOOST_MPL_AUX_CONFIG_TYPEOF_HPP_INCLUDED |
| 3 | #define BOOST_MPL_AUX_CONFIG_TYPEOF_HPP_INCLUDED |
| 4 | |
| 5 | // Copyright Aleksey Gurtovoy 2003-2004 |
| 6 | // |
| 7 | // Distributed under the Boost Software License, Version 1.0. |
| 8 | // (See accompanying file LICENSE_1_0.txt or copy at |
| 9 | // http://www.boost.org/LICENSE_1_0.txt) |
| 10 | // |
| 11 | // See http://www.boost.org/libs/mpl for documentation. |
| 12 | |
| 13 | // $Id$ |
| 14 | // $Date$ |
| 15 | // $Revision$ |
| 16 | |
| 17 | #include <boost/mpl/aux_/config/gcc.hpp> |
| 18 | |
| 19 | #if !defined(BOOST_MPL_CFG_HAS_TYPEOF) \ |
| 20 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ |
| 21 | && ( defined(BOOST_MPL_CFG_GCC) && BOOST_MPL_CFG_GCC >= 0x0302 \ |
| 22 | || defined(__MWERKS__) && __MWERKS__ >= 0x3000 \ |
| 23 | ) |
| 24 | |
| 25 | # define BOOST_MPL_CFG_HAS_TYPEOF |
| 26 | |
| 27 | #endif |
| 28 | |
| 29 | |
| 30 | #if !defined(BOOST_MPL_CFG_TYPEOF_BASED_SEQUENCES) \ |
| 31 | && !defined(BOOST_MPL_PREPROCESSING_MODE) \ |
| 32 | && defined(BOOST_MPL_CFG_HAS_TYPEOF) |
| 33 | |
| 34 | # define BOOST_MPL_CFG_TYPEOF_BASED_SEQUENCES |
| 35 | |
| 36 | #endif |
| 37 | |
| 38 | #endif // BOOST_MPL_AUX_CONFIG_TYPEOF_HPP_INCLUDED |
| 39 | |