Templated function as associative array property

biozic dransic at free.fr
Mon Mar 8 00:43:54 PST 2010


Le 08/03/10 01:27, bearophile a écrit :
> I don't know why your code doesn't work, someone more expert than me can answer you. Maybe it's a bug.
> In the meantime this works:

Yes, it works, thanks! But I believe this is just a workaround hack.

> graph[source] ~= target; // this is a slow operation

Yes, it's not the smartest graph implementation for D anyway :)


Nicolas




More information about the Digitalmars-d-learn mailing list