eti.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef BOOST_MPL_AUX_CONFIG_ETI_HPP_INCLUDED
  2. #define BOOST_MPL_AUX_CONFIG_ETI_HPP_INCLUDED
  3. // Copyright Aleksey Gurtovoy 2001-2004
  4. //
  5. // Distributed under the Boost Software License, Version 1.0.
  6. // (See accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. //
  9. // See http://www.boost.org/libs/mpl for documentation.
  10. // $Id$
  11. // $Date$
  12. // $Revision$
  13. #include <boost/mpl/aux_/config/msvc.hpp>
  14. #include <boost/mpl/aux_/config/workaround.hpp>
  15. // flags for MSVC 6.5's so-called "early template instantiation bug"
  16. #if !defined(BOOST_MPL_CFG_MSVC_60_ETI_BUG) \
  17. && !defined(BOOST_MPL_PREPROCESSING_MODE) \
  18. && BOOST_WORKAROUND(BOOST_MSVC, < 1300)
  19. # define BOOST_MPL_CFG_MSVC_60_ETI_BUG
  20. #endif
  21. #if !defined(BOOST_MPL_CFG_MSVC_70_ETI_BUG) \
  22. && !defined(BOOST_MPL_PREPROCESSING_MODE) \
  23. && BOOST_WORKAROUND(BOOST_MSVC, == 1300)
  24. # define BOOST_MPL_CFG_MSVC_70_ETI_BUG
  25. #endif
  26. #if !defined(BOOST_MPL_CFG_MSVC_ETI_BUG) \
  27. && !defined(BOOST_MPL_PREPROCESSING_MODE) \
  28. && ( defined(BOOST_MPL_CFG_MSVC_60_ETI_BUG) \
  29. || defined(BOOST_MPL_CFG_MSVC_70_ETI_BUG) \
  30. )
  31. # define BOOST_MPL_CFG_MSVC_ETI_BUG
  32. #endif
  33. #endif // BOOST_MPL_AUX_CONFIG_ETI_HPP_INCLUDED