Imported Upstream version 1.57.0
[platform/upstream/boost.git] / boost / fusion / support / is_iterator.hpp
1 /*=============================================================================
2     Copyright (c) 2001-2011 Joel de Guzman
3
4     Distributed under the Boost Software License, Version 1.0. (See accompanying 
5     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
7 #if !defined(FUSION_IS_ITERATOR_05062005_1219)
8 #define FUSION_IS_ITERATOR_05062005_1219
9
10 #include <boost/fusion/support/config.hpp>
11 #include <boost/type_traits/is_base_of.hpp>
12
13 namespace boost { namespace fusion
14 {
15     struct iterator_root;
16
17     template <typename T>
18     struct is_fusion_iterator : is_base_of<iterator_root, T> {};
19 }}
20
21 #endif