| Rev | Line | |
|---|
| [12] | 1 | |
|---|
| 2 | // Copyright Aleksey Gurtovoy 2000-2004 |
|---|
| 3 | // Copyright David Abrahams 2003-2004 |
|---|
| 4 | // |
|---|
| 5 | // Distributed under the Boost Software License, Version 1.0. |
|---|
| 6 | // (See accompanying file LICENSE_1_0.txt or copy at |
|---|
| 7 | // http://www.boost.org/LICENSE_1_0.txt) |
|---|
| 8 | // |
|---|
| 9 | // See http://www.boost.org/libs/mpl for documentation. |
|---|
| 10 | |
|---|
| 11 | // $Source: /cvsroot/boost/boost/libs/mpl/test/remove.cpp,v $ |
|---|
| 12 | // $Date: 2004/09/02 15:41:35 $ |
|---|
| 13 | // $Revision: 1.2 $ |
|---|
| 14 | |
|---|
| 15 | #include <boost/mpl/remove.hpp> |
|---|
| 16 | #include <boost/mpl/vector/vector10.hpp> |
|---|
| 17 | #include <boost/mpl/equal.hpp> |
|---|
| 18 | |
|---|
| 19 | #include <boost/mpl/aux_/test.hpp> |
|---|
| 20 | |
|---|
| 21 | |
|---|
| 22 | MPL_TEST_CASE() |
|---|
| 23 | { |
|---|
| 24 | typedef vector6<int,float,char,float,float,double> types; |
|---|
| 25 | typedef mpl::remove< types,float >::type result; |
|---|
| 26 | typedef vector3<int,char,double> answer; |
|---|
| 27 | MPL_ASSERT(( equal< result,answer > )); |
|---|
| 28 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.