back_inserter.hpp 686 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef BOOST_MPL_BACK_INSERTER_HPP_INCLUDED
  2. #define BOOST_MPL_BACK_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_back.hpp>
  15. #include <boost/mpl/inserter.hpp>
  16. namespace boost {
  17. namespace mpl {
  18. template<
  19. typename Sequence
  20. >
  21. struct back_inserter
  22. : inserter< Sequence,push_back<> >
  23. {
  24. };
  25. }}
  26. #endif // BOOST_MPL_BACK_INSERTER_HPP_INCLUDED