begin_end_impl.hpp 919 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef BOOST_MPL_SET_AUX_BEGIN_END_IMPL_HPP_INCLUDED
  2. #define BOOST_MPL_SET_AUX_BEGIN_END_IMPL_HPP_INCLUDED
  3. // Copyright Aleksey Gurtovoy 2003-2007
  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/begin_end_fwd.hpp>
  15. #include <boost/mpl/set/aux_/iterator.hpp>
  16. namespace boost { namespace mpl {
  17. template<>
  18. struct begin_impl< aux::set_tag >
  19. {
  20. template< typename Set > struct apply
  21. : s_iter_get<Set,typename Set::item_>
  22. {
  23. };
  24. };
  25. template<>
  26. struct end_impl< aux::set_tag >
  27. {
  28. template< typename Set > struct apply
  29. {
  30. typedef s_iter< Set,set0<> > type;
  31. };
  32. };
  33. }}
  34. #endif // BOOST_MPL_SET_AUX_BEGIN_END_IMPL_HPP_INCLUDED