empty_impl.hpp 888 B

12345678910111213141516171819202122232425262728293031
  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_EMPTY_IMPL_31122005_1554)
  8. #define BOOST_FUSION_EMPTY_IMPL_31122005_1554
  9. #include <boost/mpl/empty.hpp>
  10. namespace boost { namespace fusion
  11. {
  12. struct mpl_sequence_tag;
  13. namespace extension
  14. {
  15. template <typename Sequence>
  16. struct empty_impl;
  17. template <>
  18. struct empty_impl<mpl_sequence_tag>
  19. {
  20. template <typename Sequence>
  21. struct apply : mpl::empty<Sequence> {};
  22. };
  23. }
  24. }}
  25. #endif