is_iterator.hpp 704 B

123456789101112131415161718192021
  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/fusion/support/config.hpp>
  9. #include <boost/type_traits/is_base_of.hpp>
  10. namespace boost { namespace fusion
  11. {
  12. struct iterator_root;
  13. template <typename T>
  14. struct is_fusion_iterator : is_base_of<iterator_root, T> {};
  15. }}
  16. #endif