front_inserter.hpp 692 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef BOOST_MPL_FRONT_INSERTER_HPP_INCLUDED
  2. #define BOOST_MPL_FRONT_INSERTER_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/push_front.hpp>
  15. #include <boost/mpl/inserter.hpp>
  16. namespace boost { namespace mpl {
  17. template<
  18. typename Sequence
  19. >
  20. struct front_inserter
  21. : inserter< Sequence,push_front<> >
  22. {
  23. };
  24. }}
  25. #endif // BOOST_MPL_FRONT_INSERTER_HPP_INCLUDED