Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/function/test/function_30.cpp @ 29

Last change on this file since 29 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 808 bytes
Line 
1// Boost.Function library
2
3//  Copyright Douglas Gregor 2002-2003. Use, modification and
4//  distribution is subject to the Boost Software License, Version
5//  1.0. (See accompanying file LICENSE_1_0.txt or copy at
6//  http://www.boost.org/LICENSE_1_0.txt)
7
8// For more information, see http://www.boost.org
9
10// Make sure we don't try to redefine function2
11#include <boost/function/function2.hpp>
12
13// Define all Boost.Function class templates up to 30 arguments
14#define BOOST_FUNCTION_MAX_ARGS 30
15#include <boost/function.hpp>
16
17int main()
18{
19  boost::function0<float> f0;
20
21  boost::function30<float, int, int, int, int, int, int, int, int, int, int,
22                    int, int, int, int, int, int, int, int, int, int,
23                    int, int, int, int, int, int, int, int, int, int> f30;
24  return 0;
25}
Note: See TracBrowser for help on using the repository browser.