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.hpp>
12 
13 template<class T> void value();
14 
f0()15 void f0() { }
f1(int)16 void f1(int) { }
f2(int,int)17 void f2(int, int) { }
f3(int,int,int)18 void f3(int, int, int) { }
f4(int,int,int,int)19 void f4(int, int, int, int) { }
f5(int,int,int,int,int)20 void f5(int, int, int, int, int) { }
f6(int,int,int,int,int,int)21 void f6(int, int, int, int, int, int) { }
f7(int,int,int,int,int,int,int)22 void f7(int, int, int, int, int, int, int) { }
f8(int,int,int,int,int,int,int,int)23 void f8(int, int, int, int, int, int, int, int) { }
f9(int,int,int,int,int,int,int,int,int)24 void f9(int, int, int, int, int, int, int, int, int) { }
25 
main()26 int main()
27 {
28   boost::bind(f0);
29   boost::bind(f1, 0);
30   boost::bind(f2, 0, 0);
31   boost::bind(f3, 0, 0, 0);
32   boost::bind(f4, 0, 0, 0, 0);
33   boost::bind(f5, 0, 0, 0, 0, 0);
34   boost::bind(f6, 0, 0, 0, 0, 0, 0);
35   boost::bind(f7, 0, 0, 0, 0, 0, 0, 0);
36   boost::bind(f8, 0, 0, 0, 0, 0, 0, 0, 0);
37   boost::bind(f9, 0, 0, 0, 0, 0, 0, 0, 0, 0);
38 
39   return 0;
40 }
41