Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/mpl/test/integral_c.cpp @ 20

Last change on this file since 20 was 12, checked in by landauf, 17 years ago

added boost

File size: 872 bytes
Line 
1
2// Copyright Aleksey Gurtovoy 2001-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
10// $Source: /cvsroot/boost/boost/libs/mpl/test/integral_c.cpp,v $
11// $Date: 2005/05/14 16:00:57 $
12// $Revision: 1.5 $
13
14#include <boost/mpl/integral_c.hpp>
15#include <boost/preprocessor/repeat.hpp>
16
17#include "integral_wrapper_test.hpp"
18
19
20MPL_TEST_CASE()
21{
22#   define WRAPPER(T, i) integral_c<T,i>
23
24#if !(defined(__APPLE_CC__) && defined(__GNUC__) && (__GNUC__ == 3) && (__GNUC_MINOR__ <= 3))
25    BOOST_PP_REPEAT(10, INTEGRAL_WRAPPER_TEST, char)
26#endif
27    BOOST_PP_REPEAT(10, INTEGRAL_WRAPPER_TEST, short)
28    BOOST_PP_REPEAT(10, INTEGRAL_WRAPPER_TEST, int)
29    BOOST_PP_REPEAT(10, INTEGRAL_WRAPPER_TEST, long)
30}
Note: See TracBrowser for help on using the repository browser.