• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*=============================================================================
2     Copyright (c) 2001-2011 Joel de Guzman
3     Copyright (c) 2005-2006 Dan Marsden
4     Copyright (c) 2009-2010 Christopher Schmidt
5 
6     Distributed under the Boost Software License, Version 1.0. (See accompanying
7     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 ==============================================================================*/
9 
10 #ifndef BOOST_FUSION_ADAPTED_STRUCT_DETAIL_IS_SEQUENCE_IMPL_HPP
11 #define BOOST_FUSION_ADAPTED_STRUCT_DETAIL_IS_SEQUENCE_IMPL_HPP
12 
13 #include <boost/fusion/support/config.hpp>
14 #include <boost/mpl/bool.hpp>
15 
16 namespace boost { namespace fusion { namespace extension
17 {
18     template<typename>
19     struct is_sequence_impl;
20 
21     template<>
22     struct is_sequence_impl<struct_tag>
23     {
24         template<typename Seq>
25         struct apply
26           : mpl::true_
27         {};
28     };
29 
30     template <>
31     struct is_sequence_impl<assoc_struct_tag>
32       : is_sequence_impl<struct_tag>
33     {};
34 }}}
35 
36 #endif
37