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 | |
13 | template<class T> void value(); |
14 | |
15 | void f0() { } |
16 | void f1(int) { } |
17 | void f2(int, int) { } |
18 | void f3(int, int, int) { } |
19 | void f4(int, int, int, int) { } |
20 | void f5(int, int, int, int, int) { } |
21 | void f6(int, int, int, int, int, int) { } |
22 | void f7(int, int, int, int, int, int, int) { } |
23 | void f8(int, int, int, int, int, int, int, int) { } |
24 | void f9(int, int, int, int, int, int, int, int, int) { } |
25 | |
26 | int 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 | |