File indexing completed on 2025-01-18 09:35:00
0001
0002
0003
0004
0005
0006
0007 #if !defined(BOOST_FUSION_TRANSFORM_VIEW_ITERATOR_20070127_0957)
0008 #define BOOST_FUSION_TRANSFORM_VIEW_ITERATOR_20070127_0957
0009
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/fusion/iterator/equal_to.hpp>
0012
0013 namespace boost { namespace fusion {
0014
0015 struct transform_view_iterator_tag;
0016 struct transform_view_iterator2_tag;
0017
0018 namespace extension
0019 {
0020 template<typename Tag>
0021 struct equal_to_impl;
0022
0023 template<>
0024 struct equal_to_impl<transform_view_iterator_tag>
0025 {
0026 template<typename It1, typename It2>
0027 struct apply
0028 : result_of::equal_to<typename It1::first_type, typename It2::first_type>
0029 {};
0030 };
0031
0032 template<>
0033 struct equal_to_impl<transform_view_iterator2_tag>
0034 {
0035 template<typename It1, typename It2>
0036 struct apply
0037 : result_of::equal_to<typename It1::first1_type, typename It2::first1_type>
0038 {};
0039 };
0040 }
0041 }}
0042
0043 #endif