remove.cpp 699 B

12345678910111213141516171819202122232425262728
  1. // Copyright Aleksey Gurtovoy 2000-2004
  2. // Copyright David Abrahams 2003-2004
  3. //
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. //
  8. // See http://www.boost.org/libs/mpl for documentation.
  9. // $Id$
  10. // $Date$
  11. // $Revision$
  12. #include <boost/mpl/remove.hpp>
  13. #include <boost/mpl/vector/vector10.hpp>
  14. #include <boost/mpl/equal.hpp>
  15. #include <boost/mpl/aux_/test.hpp>
  16. MPL_TEST_CASE()
  17. {
  18. typedef vector6<int,float,char,float,float,double> types;
  19. typedef mpl::remove< types,float >::type result;
  20. typedef vector3<int,char,double> answer;
  21. MPL_ASSERT(( equal< result,answer > ));
  22. }