9
3

equal_to_impl.hpp 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*=============================================================================
  2. Copyright (c) 2001-2011 Joel de Guzman
  3. Copyright (c) 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_20060223_1941)
  8. #define BOOST_FUSION_EQUAL_TO_IMPL_20060223_1941
  9. #include <boost/mpl/equal_to.hpp>
  10. namespace example
  11. {
  12. struct example_struct_iterator_tag;
  13. }
  14. namespace boost { namespace fusion {
  15. namespace extension
  16. {
  17. template<typename Tag>
  18. struct equal_to_impl;
  19. template<>
  20. struct equal_to_impl<example::example_struct_iterator_tag>
  21. {
  22. template<typename It1, typename It2>
  23. struct apply
  24. : mpl::equal_to<
  25. typename It1::index,
  26. typename It2::index>
  27. {};
  28. };
  29. }
  30. }}
  31. #endif