address of overloaded function

Freddy via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 30 15:48:01 PDT 2015


How do you take the address of a specific overloaded function. 
This won't compile
---
import std.range;

void main()
{
     ForwardAssignable!int range;
     int delegate() @property get = &range.front;
     void delegate(int) @property set = &range.front;
}
---


More information about the Digitalmars-d-learn mailing list