blob: 269b80aa599239d6b592b0cc56e3ceed15e598e4 [file] [log] [blame]
Brian Silvermance4aa8d2018-08-04 23:36:03 -07001//
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
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(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}