/Src/Dependencies/Boost/boost/mpl/aux_/config/has_xxx.hpp

http://hadesmem.googlecode.com/ · C++ Header · 34 lines · 13 code · 9 blank · 12 comment · 3 complexity · 6d891877735beacd2f5769eb638ac665 MD5 · raw file

  1. #ifndef BOOST_MPL_AUX_CONFIG_HAS_XXX_HPP_INCLUDED
  2. #define BOOST_MPL_AUX_CONFIG_HAS_XXX_HPP_INCLUDED
  3. // Copyright Aleksey Gurtovoy 2002-2004
  4. // Copyright David Abrahams 2002-2003
  5. //
  6. // Distributed under the Boost Software License, Version 1.0.
  7. // (See accompanying file LICENSE_1_0.txt or copy at
  8. // http://www.boost.org/LICENSE_1_0.txt)
  9. //
  10. // See http://www.boost.org/libs/mpl for documentation.
  11. // $Id: has_xxx.hpp 63518 2010-07-02 08:32:03Z agurtovoy $
  12. // $Date: 2010-07-02 18:32:03 +1000 (Fri, 02 Jul 2010) $
  13. // $Revision: 63518 $
  14. #include <boost/mpl/aux_/config/overload_resolution.hpp>
  15. #include <boost/mpl/aux_/config/workaround.hpp>
  16. // agurt, 11/jan/03: signals a stub-only 'has_xxx' implementation
  17. #if !defined(BOOST_MPL_CFG_NO_HAS_XXX) \
  18. && ( defined(BOOST_MPL_CFG_BROKEN_OVERLOAD_RESOLUTION) \
  19. || BOOST_WORKAROUND(__GNUC__, <= 2) \
  20. || BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840)) \
  21. )
  22. # define BOOST_MPL_CFG_NO_HAS_XXX
  23. # define BOOST_MPL_CFG_NO_HAS_XXX_TEMPLATE
  24. #endif
  25. #endif // BOOST_MPL_AUX_CONFIG_HAS_XXX_HPP_INCLUDED