size_t.cpp 769 B

1234567891011121314151617181920212223242526272829
  1. // Copyright Aleksey Gurtovoy 2001-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. // Necessary to overcome a strange name lookup bug in GCC 3.3 and 4.0 for Mac OS X
  12. #if defined(__APPLE_CC__) && defined(__GNUC__) && (__GNUC__ <= 4)
  13. # include <cassert>
  14. #endif
  15. #include <boost/mpl/size_t.hpp>
  16. #include <boost/mpl/identity.hpp>
  17. #include <boost/preprocessor/repetition/repeat_from_to.hpp>
  18. #include "integral_wrapper_test.hpp"
  19. MPL_TEST_CASE()
  20. {
  21. # define WRAPPER(T, i) mpl::size_t<i>
  22. BOOST_PP_REPEAT_FROM_TO(1, 11, INTEGRAL_WRAPPER_TEST, std::size_t)
  23. }