X-Git-Url: https://git.donarmstrong.com/?p=rsem.git;a=blobdiff_plain;f=boost%2Ffusion%2Fiterator%2Fequal_to.hpp;fp=boost%2Ffusion%2Fiterator%2Fequal_to.hpp;h=334783770e251b507f68ea39b5382e7385fc8e9a;hp=a0387417323ac1857d68dc3a04642045746317cb;hb=2d71eb92104693ca9baa5a2e1c23eeca776d8fd3;hpb=da57529b92adbb7ae74a89861cb39fb35ac7c62d diff --git a/boost/fusion/iterator/equal_to.hpp b/boost/fusion/iterator/equal_to.hpp index a038741..3347837 100644 --- a/boost/fusion/iterator/equal_to.hpp +++ b/boost/fusion/iterator/equal_to.hpp @@ -1,7 +1,7 @@ /*============================================================================= - Copyright (c) 2001-2006 Joel de Guzman + Copyright (c) 2001-2011 Joel de Guzman - Distributed under the Boost Software License, Version 1.0. (See accompanying + Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #if !defined(FUSION_EQUAL_TO_05052005_1208) @@ -37,8 +37,18 @@ namespace boost { namespace fusion template <> struct equal_to_impl { - template - struct apply : I1::template equal_to {}; + template + struct dispatch : mpl::false_ {}; + + template + struct dispatch // same tag + : It1::template equal_to + {}; + + template + struct apply : dispatch + {}; }; template <> @@ -63,8 +73,8 @@ namespace boost { namespace fusion namespace iterator_operators { template - inline typename - enable_if< + inline typename + boost::enable_if< mpl::and_, is_fusion_iterator > , bool >::type @@ -74,8 +84,8 @@ namespace boost { namespace fusion } template - inline typename - enable_if< + inline typename + boost::enable_if< mpl::and_, is_fusion_iterator > , bool >::type