empty.hpp 799 B

1234567891011121314151617181920212223242526
  1. /*=============================================================================
  2. Copyright (c) 2001-2011 Joel de Guzman
  3. Distributed under the Boost Software License, Version 1.0. (See accompanying
  4. file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. ==============================================================================*/
  6. #if !defined(FUSION_EMPTY_10022005_1619)
  7. #define FUSION_EMPTY_10022005_1619
  8. #include <boost/mpl/empty.hpp>
  9. #include <boost/fusion/sequence/intrinsic/empty.hpp>
  10. namespace boost { namespace mpl
  11. {
  12. template <typename Tag>
  13. struct empty_impl;
  14. template <>
  15. struct empty_impl<fusion::fusion_sequence_tag>
  16. {
  17. template <typename Sequence>
  18. struct apply : fusion::result_of::empty<Sequence> {};
  19. };
  20. }}
  21. #endif