1//
2// bind_lookup_problem_test.cpp
3//
4// Copyright (C) Markus Schoepflin 2005.
5//
6// Use, modification, and distribution are subject to the Boost Software
7// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
8// http://www.boost.org/LICENSE_1_0.txt)
9//
10
11#include <boost/bind/bind.hpp>
12
13template<class T> void value();
14
15void f0() { }
16void f1(int) { }
17void f2(int, int) { }
18void f3(int, int, int) { }
19void f4(int, int, int, int) { }
20void f5(int, int, int, int, int) { }
21void f6(int, int, int, int, int, int) { }
22void f7(int, int, int, int, int, int, int) { }
23void f8(int, int, int, int, int, int, int, int) { }
24void f9(int, int, int, int, int, int, int, int, int) { }
25
26int main()
27{
28 boost::bind(f: f0);
29 boost::bind(f: f1, a1: 0);
30 boost::bind(f: f2, a1: 0, a2: 0);
31 boost::bind(f: f3, a1: 0, a2: 0, a3: 0);
32 boost::bind(f: f4, a1: 0, a2: 0, a3: 0, a4: 0);
33 boost::bind(f: f5, a1: 0, a2: 0, a3: 0, a4: 0, a5: 0);
34 boost::bind(f: f6, a1: 0, a2: 0, a3: 0, a4: 0, a5: 0, a6: 0);
35 boost::bind(f: f7, a1: 0, a2: 0, a3: 0, a4: 0, a5: 0, a6: 0, a7: 0);
36 boost::bind(f: f8, a1: 0, a2: 0, a3: 0, a4: 0, a5: 0, a6: 0, a7: 0, a8: 0);
37 boost::bind(f: f9, a1: 0, a2: 0, a3: 0, a4: 0, a5: 0, a6: 0, a7: 0, a8: 0, a9: 0);
38
39 return 0;
40}
41

source code of boost/libs/bind/test/bind_lookup_problem_test.cpp