]> git.donarmstrong.com Git - rsem.git/blob - boost/fusion/container/list/detail/equal_to_impl.hpp
Updated boost to v1.55.0
[rsem.git] / boost / fusion / container / list / detail / equal_to_impl.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_EQUAL_TO_IMPL_09172005_1120)
8 #define FUSION_EQUAL_TO_IMPL_09172005_1120
9
10 #include <boost/type_traits/is_same.hpp>
11 #include <boost/mpl/equal_to.hpp>
12 #include <boost/mpl/and.hpp>
13
14 namespace boost { namespace fusion
15 {
16     struct cons_iterator_tag;
17
18     namespace extension
19     {
20         template <typename Tag>
21         struct equal_to_impl;
22
23         template <>
24         struct equal_to_impl<cons_iterator_tag>
25         {
26             template <typename I1, typename I2>
27             struct apply             
28                 : is_same<
29                     typename I1::identity
30                   , typename I2::identity
31                 >
32             {
33             };
34         };
35     }
36 }}
37
38 #endif
39