equal_to_impl.hpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*=============================================================================
  2. Copyright (c) 2001-2011 Joel de Guzman
  3. Copyright (c) 2005-2006 Dan Marsden
  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(BOOST_FUSION_EQUAL_TO_IMPL_02012005_2133)
  8. #define BOOST_FUSION_EQUAL_TO_IMPL_02012005_2133
  9. namespace boost { namespace fusion
  10. {
  11. struct filter_view_iterator_tag;
  12. namespace extension
  13. {
  14. template<typename I1, typename I2>
  15. struct equal_to;
  16. template<typename Tag>
  17. struct equal_to_impl;
  18. template<>
  19. struct equal_to_impl<filter_view_iterator_tag>
  20. {
  21. template<typename I1, typename I2>
  22. struct apply
  23. : result_of::equal_to<typename I1::first_type, typename I2::first_type>
  24. {};
  25. };
  26. }
  27. }}
  28. #endif