include_preprocessed.hpp 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION
  2. // Copyright Aleksey Gurtovoy 2000-2006
  3. //
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. //
  8. // See http://www.boost.org/libs/mpl for documentation.
  9. // $Id$
  10. // $Date$
  11. // $Revision$
  12. #include <boost/mpl/aux_/config/typeof.hpp>
  13. #include <boost/mpl/aux_/config/ctps.hpp>
  14. #include <boost/mpl/aux_/config/preprocessor.hpp>
  15. #include <boost/mpl/aux_/config/workaround.hpp>
  16. #include <boost/preprocessor/cat.hpp>
  17. #include <boost/preprocessor/stringize.hpp>
  18. #if defined(BOOST_MPL_CFG_TYPEOF_BASED_SEQUENCES)
  19. # define AUX778076_INCLUDE_DIR typeof_based
  20. #elif defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
  21. || defined(BOOST_MPL_CFG_NO_NONTYPE_TEMPLATE_PARTIAL_SPEC)
  22. # define AUX778076_INCLUDE_DIR no_ctps
  23. #else
  24. # define AUX778076_INCLUDE_DIR plain
  25. #endif
  26. #if !defined(BOOST_NEEDS_TOKEN_PASTING_OP_FOR_TOKENS_JUXTAPOSING)
  27. # define AUX778076_HEADER \
  28. AUX778076_INCLUDE_DIR/BOOST_MPL_PREPROCESSED_HEADER \
  29. /**/
  30. #else
  31. # define AUX778076_HEADER \
  32. BOOST_PP_CAT(AUX778076_INCLUDE_DIR,/)##BOOST_MPL_PREPROCESSED_HEADER \
  33. /**/
  34. #endif
  35. #if BOOST_WORKAROUND(__IBMCPP__, BOOST_TESTED_AT(700))
  36. # define AUX778076_INCLUDE_STRING BOOST_PP_STRINGIZE(boost/mpl/vector/aux_/preprocessed/AUX778076_HEADER)
  37. # include AUX778076_INCLUDE_STRING
  38. # undef AUX778076_INCLUDE_STRING
  39. #else
  40. # include BOOST_PP_STRINGIZE(boost/mpl/vector/aux_/preprocessed/AUX778076_HEADER)
  41. #endif
  42. # undef AUX778076_HEADER
  43. # undef AUX778076_INCLUDE_DIR
  44. #undef BOOST_MPL_PREPROCESSED_HEADER