size_impl.hpp 854 B

1234567891011121314151617181920212223242526272829
  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_SIZE_IMPL_27122005_1251)
  8. #define BOOST_FUSION_SIZE_IMPL_27122005_1251
  9. namespace boost { namespace fusion {
  10. struct boost_array_tag;
  11. namespace extension
  12. {
  13. template<typename T>
  14. struct size_impl;
  15. template<>
  16. struct size_impl<boost_array_tag>
  17. {
  18. template<typename Sequence>
  19. struct apply : mpl::int_<Sequence::static_size> {};
  20. };
  21. }
  22. }}
  23. #endif