empty.hpp 842 B

123456789101112131415161718192021222324252627
  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/fusion/support/config.hpp>
  9. #include <boost/mpl/empty.hpp>
  10. #include <boost/fusion/sequence/intrinsic/empty.hpp>
  11. namespace boost { namespace mpl
  12. {
  13. template <typename Tag>
  14. struct empty_impl;
  15. template <>
  16. struct empty_impl<fusion::fusion_sequence_tag>
  17. {
  18. template <typename Sequence>
  19. struct apply : fusion::result_of::empty<Sequence> {};
  20. };
  21. }}
  22. #endif