Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:34:40

0001 /*=============================================================================
0002     Copyright (c) 2001-2011 Joel de Guzman
0003 
0004     Distributed under the Boost Software License, Version 1.0. (See accompanying 
0005     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 ==============================================================================*/
0007 #if !defined(FUSION_EQUAL_TO_IMPL_05052005_1215)
0008 #define FUSION_EQUAL_TO_IMPL_05052005_1215
0009 
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/type_traits/is_same.hpp>
0012 #include <boost/mpl/equal_to.hpp>
0013 #include <boost/mpl/and.hpp>
0014 
0015 namespace boost { namespace fusion
0016 {
0017     struct vector_iterator_tag;
0018 
0019     namespace extension
0020     {
0021         template <typename Tag>
0022         struct equal_to_impl;
0023 
0024         template <>
0025         struct equal_to_impl<vector_iterator_tag>
0026         {
0027             template <typename I1, typename I2>
0028             struct apply
0029                 : is_same<
0030                     typename I1::identity
0031                   , typename I2::identity
0032                 >
0033             {
0034             };
0035         };
0036     }
0037 }}
0038 
0039 #endif
0040