What is a sink delegate?

thedeemon via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Oct 9 21:42:02 PDT 2014


On Friday, 10 October 2014 at 03:06:33 UTC, Joel wrote:

> How do you use that toString? Maybe an example?

void main() {
  	Try t = Try("Joel", 35);
	t.toString(s => writeln(s));
}



More information about the Digitalmars-d-learn mailing list