Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56154 - sandbox/variadic_templates/boost/mpl/list/aux_
From: cppljevans_at_[hidden]
Date: 2009-09-12 08:55:42


Author: cppljevans
Date: 2009-09-12 08:55:42 EDT (Sat, 12 Sep 2009)
New Revision: 56154
URL: http://svn.boost.org/trac/boost/changeset/56154

Log:
no_msg
Added:
   sandbox/variadic_templates/boost/mpl/list/aux_/push_front.hpp (contents, props changed)

Added: sandbox/variadic_templates/boost/mpl/list/aux_/push_front.hpp
==============================================================================
--- (empty file)
+++ sandbox/variadic_templates/boost/mpl/list/aux_/push_front.hpp 2009-09-12 08:55:42 EDT (Sat, 12 Sep 2009)
@@ -0,0 +1,38 @@
+
+#ifndef BOOST_MPL_LIST_AUX_PUSH_FRONT_HPP_INCLUDED
+#define BOOST_MPL_LIST_AUX_PUSH_FRONT_HPP_INCLUDED
+
+// Copyright Aleksey Gurtovoy 2000-2004
+//
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+//
+// See http://www.boost.org/libs/mpl for documentation.
+
+// $Id$
+// $Date: 2008-10-10 04:10:26 -0500 (Fri, 10 Oct 2008) $
+// $Revision: 49239 $
+
+#include <boost/mpl/push_front_fwd.hpp>
+#include <boost/mpl/next.hpp>
+#include <boost/mpl/list/aux_/item.hpp>
+#include <boost/mpl/list/aux_/tag.hpp>
+
+namespace boost { namespace mpl {
+
+template<>
+struct push_front_impl< aux::list_tag >
+{
+ template< typename List, typename T > struct apply
+ {
+ typedef l_item<
+ T
+ , typename List::type
+ > type;
+ };
+};
+
+}}
+
+#endif // BOOST_MPL_LIST_AUX_PUSH_FRONT_HPP_INCLUDED


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk