size_impl.hpp 939 B

1234567891011121314151617181920212223242526272829303132333435
  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(FUSION_SIZE_IMPL_20060124_0800)
  8. #define FUSION_SIZE_IMPL_20060124_0800
  9. namespace boost { namespace fusion {
  10. struct zip_view_tag;
  11. namespace extension
  12. {
  13. template<typename Sequence>
  14. struct size;
  15. template<typename Tag>
  16. struct size_impl;
  17. template<>
  18. struct size_impl<zip_view_tag>
  19. {
  20. template<typename Sequence>
  21. struct apply
  22. {
  23. typedef typename Sequence::size type;
  24. };
  25. };
  26. }
  27. }}
  28. #endif