Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:31:08

0001 /*=============================================================================
0002     Copyright (c) 2001-2011 Joel de Guzman
0003     Copyright (c) 2005-2006 Dan Marsden
0004     Copyright (c) 2009-2010 Christopher Schmidt
0005 
0006     Distributed under the Boost Software License, Version 1.0. (See accompanying
0007     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0008 ==============================================================================*/
0009 
0010 #ifndef BOOST_FUSION_ADAPTED_STRUCT_DETAIL_CATEGORY_OF_IMPL_HPP
0011 #define BOOST_FUSION_ADAPTED_STRUCT_DETAIL_CATEGORY_OF_IMPL_HPP
0012 
0013 namespace boost { namespace fusion
0014 {
0015     namespace extension
0016     {
0017         template<typename>
0018         struct category_of_impl;
0019 
0020         template<>
0021         struct category_of_impl<struct_tag>
0022         {
0023             template<typename Seq>
0024             struct apply
0025             {
0026                 typedef random_access_traversal_tag type;
0027             };
0028         };
0029 
0030         template<>
0031         struct category_of_impl<assoc_struct_tag>
0032         {
0033             template<typename Seq>
0034             struct apply
0035             {
0036                 typedef assoc_struct_category type;
0037             };
0038         };
0039     }
0040 }}
0041 
0042 #endif