On Thursday, 25 June 2015 at 14:17:13 UTC, Paul D Anderson wrote:
On Thursday, 25 June 2015 at 07:10:57 UTC, tcak wrote:
On Thursday, 25 June 2015 at 04:43:51 UTC, Paul D Anderson
wrote:
I'm trying to pass a function pointer while keeping the
default parameter values intact. Given the following:
[...]
I filed a bug about 2-3 months ago about default parameters
similar to yours. My guess is that it hasn't been fixed yet,
and you have hit the same issue.
Thanks
Turns out this is expected behavior. Default parameter values are
stripped from function pointers.