summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/mpl/test/unpack_args.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/mpl/test/unpack_args.cpp')
-rw-r--r--src/boost/libs/mpl/test/unpack_args.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/boost/libs/mpl/test/unpack_args.cpp b/src/boost/libs/mpl/test/unpack_args.cpp
new file mode 100644
index 000000000..d506535e9
--- /dev/null
+++ b/src/boost/libs/mpl/test/unpack_args.cpp
@@ -0,0 +1,26 @@
+
+// Copyright Aleksey Gurtovoy 2002-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$
+// $Revision$
+
+#include <boost/mpl/unpack_args.hpp>
+
+#include <boost/mpl/vector/vector10.hpp>
+#include <boost/mpl/aux_/test.hpp>
+#include <boost/type_traits/is_same.hpp>
+
+MPL_TEST_CASE()
+{
+ MPL_ASSERT(( apply1<
+ unpack_args< is_same<_1,_2> >
+ , vector2<int,int>
+ > ));
+}