blob: 768b425b65f15e933ef0e49c97cd8d96b30d00c7 [file] [log] [blame]
Jeff Thompsona28eed82013-08-22 16:21:10 -07001// 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 ndnboost::function0<float> f0;
20
21 ndnboost::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}