|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r64573 - sandbox/variadic_templates/boost/mpl
From: cppljevans_at_[hidden]
Date: 2010-08-03 11:21:50
Author: cppljevans
Date: 2010-08-03 11:21:50 EDT (Tue, 03 Aug 2010)
New Revision: 64573
URL: http://svn.boost.org/trac/boost/changeset/64573
Log:
init rev
Added:
sandbox/variadic_templates/boost/mpl/join_pack.hpp (contents, props changed)
Added: sandbox/variadic_templates/boost/mpl/join_pack.hpp
==============================================================================
--- (empty file)
+++ sandbox/variadic_templates/boost/mpl/join_pack.hpp 2010-08-03 11:21:50 EDT (Tue, 03 Aug 2010)
@@ -0,0 +1,36 @@
+
+#ifndef BOOST_MPL_JOIN_PACK_HPP_INCLUDED
+#define BOOST_MPL_JOIN_PACK_HPP_INCLUDED
+
+// $Id$
+// $Date: 2010/02/13 15:31:06 $
+// $Revision: 1.1 $
+
+#include <boost/mpl/package.hpp>
+
+namespace boost { namespace mpl {
+
+template<
+ typename Sequence1_
+ , typename Sequence2_
+ >
+struct join_pack
+;
+template<
+ typename... Elements1_
+ , typename... Elements2_
+ >
+struct join_pack<
+ package<Elements1_...>
+ , package<Elements2_...>
+ >
+
+{
+ typedef package< Elements1_..., Elements2_...> type;
+};
+
+BOOST_MPL_AUX_NA_SPEC(2, join_pack)
+
+}}
+
+#endif // BOOST_MPL_JOIN_PACK_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