[Issue 9959] Add functional pattern matching for object references
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Sep 16 07:15:14 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=9959
--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/cf1aa96bc443eea5a7067d9066a6033c3b424fd8
fix issue 9959 - Add functional pattern matching for object references
Add the function std.algorithm.castSwitch, which chooses a delegate
based on the class of an object and run that delegate with that object.
https://github.com/D-Programming-Language/phobos/commit/575b4aec7f2e901056548dc209f3d15951714c05
Merge pull request #1266 from
idanarye/add-functional-pattern-matching-for-object-references
fix issue 9959 - Add functional pattern matching for object references
--
More information about the Digitalmars-d-bugs
mailing list