author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
parent 3 | e1b950c65cb4 |
permissions | -rw-r--r-- |
williamr@4 | 1 |
|
williamr@4 | 2 |
#ifndef BOOST_MPL_AUX_FOLD_IMPL_HPP_INCLUDED |
williamr@4 | 3 |
#define BOOST_MPL_AUX_FOLD_IMPL_HPP_INCLUDED |
williamr@2 | 4 |
|
williamr@2 | 5 |
// Copyright Aleksey Gurtovoy 2000-2004 |
williamr@2 | 6 |
// |
williamr@2 | 7 |
// Distributed under the Boost Software License, Version 1.0. |
williamr@2 | 8 |
// (See accompanying file LICENSE_1_0.txt or copy at |
williamr@2 | 9 |
// http://www.boost.org/LICENSE_1_0.txt) |
williamr@2 | 10 |
// |
williamr@4 | 11 |
// See http://www.boost.org/libs/mpl for documentation. |
williamr@2 | 12 |
|
williamr@4 | 13 |
// $Source: /cvsroot/boost/boost/boost/mpl/aux_/fold_impl.hpp,v $ |
williamr@4 | 14 |
// $Date: 2004/09/02 15:40:43 $ |
williamr@4 | 15 |
// $Revision: 1.6 $ |
williamr@2 | 16 |
|
williamr@4 | 17 |
#if !defined(BOOST_MPL_PREPROCESSING_MODE) |
williamr@4 | 18 |
# include <boost/mpl/next_prior.hpp> |
williamr@4 | 19 |
# include <boost/mpl/apply.hpp> |
williamr@4 | 20 |
# include <boost/mpl/deref.hpp> |
williamr@4 | 21 |
# include <boost/mpl/aux_/config/ctps.hpp> |
williamr@4 | 22 |
# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) |
williamr@4 | 23 |
# include <boost/mpl/if.hpp> |
williamr@4 | 24 |
# include <boost/type_traits/is_same.hpp> |
williamr@4 | 25 |
# endif |
williamr@4 | 26 |
#endif |
williamr@2 | 27 |
|
williamr@4 | 28 |
#include <boost/mpl/aux_/config/use_preprocessed.hpp> |
williamr@2 | 29 |
|
williamr@4 | 30 |
#if !defined(BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS) \ |
williamr@4 | 31 |
&& !defined(BOOST_MPL_PREPROCESSING_MODE) |
williamr@2 | 32 |
|
williamr@4 | 33 |
# define BOOST_MPL_PREPROCESSED_HEADER fold_impl.hpp |
williamr@4 | 34 |
# include <boost/mpl/aux_/include_preprocessed.hpp> |
williamr@2 | 35 |
|
williamr@4 | 36 |
#else |
williamr@2 | 37 |
|
williamr@4 | 38 |
# define AUX778076_FOLD_IMPL_OP(iter) typename deref<iter>::type |
williamr@4 | 39 |
# define AUX778076_FOLD_IMPL_NAME_PREFIX fold |
williamr@4 | 40 |
# include <boost/mpl/aux_/fold_impl_body.hpp> |
williamr@2 | 41 |
|
williamr@4 | 42 |
#endif // BOOST_MPL_CFG_NO_PREPROCESSED_HEADERS |
williamr@4 | 43 |
#endif // BOOST_MPL_AUX_FOLD_IMPL_HPP_INCLUDED |