From 66ed4fc9e1bd14fd4afac959fbdd0e15ddab156b Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 26 Apr 2005 20:16:09 +0000 Subject: [PATCH] Use different names for the functions to make VC6 happy [SVN r28492] --- test/bind_lookup_problem_test.cpp | 40 +++++++++++++++---------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/test/bind_lookup_problem_test.cpp b/test/bind_lookup_problem_test.cpp index 315a5e6..3ed4178 100644 --- a/test/bind_lookup_problem_test.cpp +++ b/test/bind_lookup_problem_test.cpp @@ -12,29 +12,29 @@ template void value(); -void foo() { } -void foo(int) { } -void foo(int, int) { } -void foo(int, int, int) { } -void foo(int, int, int, int) { } -void foo(int, int, int, int, int) { } -void foo(int, int, int, int, int, int) { } -void foo(int, int, int, int, int, int, int) { } -void foo(int, int, int, int, int, int, int, int) { } -void foo(int, int, int, int, int, int, int, int, int) { } +void f0() { } +void f1(int) { } +void f2(int, int) { } +void f3(int, int, int) { } +void f4(int, int, int, int) { } +void f5(int, int, int, int, int) { } +void f6(int, int, int, int, int, int) { } +void f7(int, int, int, int, int, int, int) { } +void f8(int, int, int, int, int, int, int, int) { } +void f9(int, int, int, int, int, int, int, int, int) { } int main() { - boost::bind(foo); - boost::bind(foo, 0); - boost::bind(foo, 0, 0); - boost::bind(foo, 0, 0, 0); - boost::bind(foo, 0, 0, 0, 0); - boost::bind(foo, 0, 0, 0, 0, 0); - boost::bind(foo, 0, 0, 0, 0, 0, 0); - boost::bind(foo, 0, 0, 0, 0, 0, 0, 0); - boost::bind(foo, 0, 0, 0, 0, 0, 0, 0, 0); - boost::bind(foo, 0, 0, 0, 0, 0, 0, 0, 0, 0); + boost::bind(f0); + boost::bind(f1, 0); + boost::bind(f2, 0, 0); + boost::bind(f3, 0, 0, 0); + boost::bind(f4, 0, 0, 0, 0); + boost::bind(f5, 0, 0, 0, 0, 0); + boost::bind(f6, 0, 0, 0, 0, 0, 0); + boost::bind(f7, 0, 0, 0, 0, 0, 0, 0); + boost::bind(f8, 0, 0, 0, 0, 0, 0, 0, 0); + boost::bind(f9, 0, 0, 0, 0, 0, 0, 0, 0, 0); return 0; }