forked from boostorg/function
Regenerated
[SVN r17084]
This commit is contained in:
1 parent
8b6ebc4c42
commit
9bc263cf97
10 files changed
+20
No files matched your search
@@ -36,4 +36,6 @@ f = 0;
|
|||||||
|
|
||||||
f = &mul_ints;
|
f = &mul_ints;
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -34,4 +34,6 @@ f = 0;
|
|||||||
|
|
||||||
f = &mul_ints;
|
f = &mul_ints;
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -15,4 +15,6 @@ int main()
|
|||||||
|
|
||||||
boost::function<int (int)> f2(f);
|
boost::function<int (int)> f2(f);
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -15,4 +15,6 @@ int main()
|
|||||||
|
|
||||||
boost::function1<int, int> f2(f);
|
boost::function1<int, int> f2(f);
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -21,4 +21,6 @@ f = &X::foo;
|
|||||||
X x;
|
X x;
|
||||||
f(&x, 5);
|
f(&x, 5);
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -21,4 +21,6 @@ f = &X::foo;
|
|||||||
X x;
|
X x;
|
||||||
f(&x, 5);
|
f(&x, 5);
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -20,4 +20,6 @@ int main()
|
|||||||
|
|
||||||
f(5); // Call x.foo(5)
|
f(5); // Call x.foo(5)
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -20,4 +20,6 @@ int main()
|
|||||||
|
|
||||||
f(5); // Call x.foo(5)
|
f(5); // Call x.foo(5)
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -20,4 +20,6 @@ boost::function<void (int values[], int n, int& sum, float& avg)> sum_avg;
|
|||||||
|
|
||||||
sum_avg = &do_sum_avg;
|
sum_avg = &do_sum_avg;
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -20,4 +20,6 @@ boost::function4<void, int[], int, int&, float> sum_avg;
|
|||||||
|
|
||||||
sum_avg = &do_sum_avg;
|
sum_avg = &do_sum_avg;
|
||||||
|
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user