
30 Jun
2012
30 Jun
'12
4:47 p.m.
AMDG On 06/30/2012 09:24 AM, Vicente J. Botet Escriba wrote:
Le 30/06/12 06:07, Nathan Ridge a écrit :
int foo(int a, int b = 0);
I agree that it will be interesting to have a way to make this bar transformation using a class template unary
int main() { int A[5]; A | boost::adaptors::transformed(unary<foo>()); }
Not possible. There's no way to preserve default arguments when taking a pointer to a function. In Christ, Steven Watanabe