[Issue 2159] Confusion between function call and C++ style function address
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 25 15:15:36 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=2159
anonymous4 <dfj1esp02 at sneakemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #11 from anonymous4 <dfj1esp02 at sneakemail.com> ---
Self-contained test case:
---
void f(int);
void f(int function());
int g();
void h()
{
f(g);
f(&g);
}
---
--
More information about the Digitalmars-d-bugs
mailing list