/Src/Dependencies/Boost/boost/fusion/mpl/clear.hpp

http://hadesmem.googlecode.com/ · C++ Header · 33 lines · 22 code · 5 blank · 6 comment · 0 complexity · f7ac13f7c0f42a11f92baa7ac9ca6435 MD5 · raw file

  1. /*=============================================================================
  2. Copyright (c) 2001-2006 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_CLEAR_10022005_1817)
  7. #define FUSION_CLEAR_10022005_1817
  8. #include <boost/mpl/clear.hpp>
  9. #include <boost/fusion/support/tag_of.hpp>
  10. #include <boost/fusion/mpl/detail/clear.hpp>
  11. namespace boost { namespace mpl
  12. {
  13. template <typename Tag>
  14. struct clear_impl;
  15. template <>
  16. struct clear_impl<fusion::fusion_sequence_tag>
  17. {
  18. template <typename Sequence>
  19. struct apply
  20. {
  21. typedef typename
  22. fusion::detail::clear<typename fusion::detail::tag_of<Sequence>::type>::type
  23. type;
  24. };
  25. };
  26. }}
  27. #endif