clear_impl.hpp 773 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef BOOST_MPL_SET_AUX_CLEAR_IMPL_HPP_INCLUDED
  2. #define BOOST_MPL_SET_AUX_CLEAR_IMPL_HPP_INCLUDED
  3. // Copyright Aleksey Gurtovoy 2003-2004
  4. // Copyright David Abrahams 2003-2004
  5. //
  6. // Distributed under the Boost Software License, Version 1.0.
  7. // (See accompanying file LICENSE_1_0.txt or copy at
  8. // http://www.boost.org/LICENSE_1_0.txt)
  9. //
  10. // See http://www.boost.org/libs/mpl for documentation.
  11. // $Id$
  12. // $Date$
  13. // $Revision$
  14. #include <boost/mpl/clear_fwd.hpp>
  15. #include <boost/mpl/set/aux_/set0.hpp>
  16. #include <boost/mpl/set/aux_/tag.hpp>
  17. namespace boost { namespace mpl {
  18. template<>
  19. struct clear_impl< aux::set_tag >
  20. {
  21. template< typename Set > struct apply
  22. {
  23. typedef set0<> type;
  24. };
  25. };
  26. }}
  27. #endif // BOOST_MPL_SET_AUX_CLEAR_IMPL_HPP_INCLUDED