On Saturday, 20 April 2013 at 06:25:09 UTC, Walter Bright wrote:
On 4/19/2013 11:12 PM, deadalnix wrote:But some time, you can't alias (in case of inference for instance) and so can't choose what attribute bind to.Example, please.
Here you go: void foo(T)(extern(C) T function() function() f); Try making the extern(C) apply to each of: 1. the result of f() 2. the result of f()() without breaking foo()'s type inference.
