is_iterator.hpp 661 B

1234567891011121314151617181920
  1. /*=============================================================================
  2. Copyright (c) 2001-2011 Joel de Guzman
  3. Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. ==============================================================================*/
  6. #if !defined(FUSION_IS_ITERATOR_05062005_1219)
  7. #define FUSION_IS_ITERATOR_05062005_1219
  8. #include <boost/type_traits/is_base_of.hpp>
  9. namespace boost { namespace fusion
  10. {
  11. struct iterator_root;
  12. template <typename T>
  13. struct is_fusion_iterator : is_base_of<iterator_root, T> {};
  14. }}
  15. #endif