Automatic Interface Implementation
Vladimir Panteleev
vladimir at thecybershadow.net
Fri Jul 5 16:22:22 PDT 2013
On Friday, 5 July 2013 at 22:43:06 UTC, JS wrote:
> std.typecon has a lot of goodies in it but it seems to
> re-implement much of the same functionality in many of the
> templates.
I agree, it would be nice if it would be broken up into smaller,
reusable pieces that would also be usable from user code for
tasks such as yours.
> wrap did not compile do I took out the stuff that didn't work
> and hacked it up to get what I needed out of it.
Here is my attempt at using it:
http://dump.thecybershadow.net/9562c8f705cb578be1e1513b6f931fb8/test.d
However, calling b.foo2 prints AA.foo2 instead of B.foo2 due to
the bug I mentioned.
More information about the Digitalmars-d
mailing list