integral_c.cpp 786 B

123456789101112131415161718192021222324252627282930
  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. #include <boost/mpl/integral_c.hpp>
  12. #include <boost/preprocessor/repeat.hpp>
  13. #include "integral_wrapper_test.hpp"
  14. MPL_TEST_CASE()
  15. {
  16. # define WRAPPER(T, i) integral_c<T,i>
  17. #if !(defined(__APPLE_CC__) && defined(__GNUC__) && (__GNUC__ == 3) && (__GNUC_MINOR__ <= 3))
  18. BOOST_PP_REPEAT(10, INTEGRAL_WRAPPER_TEST, char)
  19. #endif
  20. BOOST_PP_REPEAT(10, INTEGRAL_WRAPPER_TEST, short)
  21. BOOST_PP_REPEAT(10, INTEGRAL_WRAPPER_TEST, int)
  22. BOOST_PP_REPEAT(10, INTEGRAL_WRAPPER_TEST, long)
  23. }