On 8/13/15 11:59 PM, Meta wrote:
On Friday, 14 August 2015 at 03:55:13 UTC, Meta wrote:
I've finally got around to fixing some bugs that were blocking
dispatchToMember, and I've now got a working solution that's ready for
destruction. Something I remember Andrei mentioning was controlling
overloads, which I have not implemented and will significantly
complicate the implementation. That bridge can be crossed once all the
more trivial issues are ironed out.
https://github.com/MetaLang/phobos/commit/f31752c70dc56ca0b7bd963e891346942964a806
Please destroy.
Link to previous thread:
http://forum.dlang.org/thread/[email protected]
Nice work, though I see it fails to compile if the member does not
define the member. I noticed sometimes "dispatchToMemberIfPresent" is
useful, too, and allows for flexible composition and good introspection.
So having both would be great.
Andrei