unpack_args.cpp 578 B

1234567891011121314151617181920212223242526
  1. // Copyright Aleksey Gurtovoy 2002-2004
  2. //
  3. // Distributed under the Boost Software License, Version 1.0.
  4. // (See accompanying file LICENSE_1_0.txt or copy at
  5. // http://www.boost.org/LICENSE_1_0.txt)
  6. //
  7. // See http://www.boost.org/libs/mpl for documentation.
  8. // $Id$
  9. // $Date$
  10. // $Revision$
  11. #include <boost/mpl/unpack_args.hpp>
  12. #include <boost/mpl/vector/vector10.hpp>
  13. #include <boost/mpl/aux_/test.hpp>
  14. #include <boost/type_traits/is_same.hpp>
  15. MPL_TEST_CASE()
  16. {
  17. MPL_ASSERT(( apply1<
  18. unpack_args< is_same<_1,_2> >
  19. , vector2<int,int>
  20. > ));
  21. }