list0.hpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef BOOST_MPL_LIST_LIST0_HPP_INCLUDED
  2. #define BOOST_MPL_LIST_LIST0_HPP_INCLUDED
  3. // Copyright Aleksey Gurtovoy 2000-2004
  4. //
  5. // Distributed under the Boost Software License, Version 1.0.
  6. // (See accompanying file LICENSE_1_0.txt or copy at
  7. // http://www.boost.org/LICENSE_1_0.txt)
  8. //
  9. // See http://www.boost.org/libs/mpl for documentation.
  10. // $Id$
  11. // $Date$
  12. // $Revision$
  13. #include <boost/mpl/long.hpp>
  14. #include <boost/mpl/aux_/na.hpp>
  15. #include <boost/mpl/list/aux_/push_front.hpp>
  16. #include <boost/mpl/list/aux_/pop_front.hpp>
  17. #include <boost/mpl/list/aux_/push_back.hpp>
  18. #include <boost/mpl/list/aux_/front.hpp>
  19. #include <boost/mpl/list/aux_/clear.hpp>
  20. #include <boost/mpl/list/aux_/O1_size.hpp>
  21. #include <boost/mpl/list/aux_/size.hpp>
  22. #include <boost/mpl/list/aux_/empty.hpp>
  23. #include <boost/mpl/list/aux_/begin_end.hpp>
  24. #include <boost/mpl/list/aux_/item.hpp>
  25. namespace boost { namespace mpl {
  26. template< typename Dummy = na > struct list0;
  27. template<> struct list0<na>
  28. : l_end
  29. {
  30. typedef l_end type;
  31. };
  32. }}
  33. #endif // BOOST_MPL_LIST_LIST0_HPP_INCLUDED