[Issue 2058] Describe hidden value passed to class member functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu May 1 08:42:45 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2058
------- Comment #2 from jlquinn at us.ibm.com 2008-05-01 10:42 -------
I eventually figured out how to use a delegate here. I had been working too
hard at it.
At this point, I'm thinking the issue is that lowerBound is specified with
"alias less", which doesn't really tell a newbie what is really safe to pass
in. Some more detailed docs with basic examples would help, both using
standalone functions, and delegates. This is really more a meta issue for
stuff in algorithms and other places that can take function references of
various forms.
--
More information about the Digitalmars-d-bugs
mailing list