Function sets as definable type

deadalnix deadalnix at gmail.com
Sun Nov 24 02:17:16 PST 2013


On Saturday, 23 November 2013 at 20:49:00 UTC, Xinok wrote:
> On Saturday, 23 November 2013 at 18:41:23 UTC, Xinok wrote:
>> ...
>>
>> Consider internally, such a type would be a set of two or more 
>> functions / delegates. Internally, this is exactly what 
>> interfaces are as well.
>
> Actually, could somebody elaborate on this for me please? With 
> a little more thought, I realize that I'm probably wrong about 
> this.

This is doable as library now, with a struct, opDispatch and 
compile time reflection.


More information about the Digitalmars-d mailing list