sorting std.container
George M via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jul 11 11:54:44 PDT 2016
Hello everybody,
sorry for my bad english(nativ german). D is a very nice language
and easy to learn because i am a c# (only private) developer.
The only bad is to find examples is very hard.
My question:
How can i sort a slist or dlist with custom types and lambda
expressions?
The sort function from std.algorithm works only with arrays (in
my test).
Can give anyone an short example?
Thanks for your help.
George
More information about the Digitalmars-d-learn
mailing list