/src/contrib/boost/mpl/front_inserter.hpp

http://pythonocc.googlecode.com/ · C++ Header · 33 lines · 14 code · 8 blank · 11 comment · 0 complexity · 5bed0dcfe20d94f2a14b863186368dad MD5 · raw file

  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: front_inserter.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
  12. // $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $
  13. // $Revision: 49267 $
  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