bioinfornatics <bioinfornat...@fedoraproject.org> wrote: > dear, > I would like a easy way to forward as does ruby: > http://www.ruby-doc.org/stdlib-1.9.3/libdoc/forwardable/rdoc/Forwardable.html > > I have already something close: > - https://gist.github.com/1969776 (me) > - http://paste.pocoo.org/show/uoD89CCjX5H3m6GvPvW6/ (dav1d) > > But it works only for array. > > > I have try to do this purpose: https://gist.github.com/1974033 > > but i am too new in D > > This feature will be really awesome and could be go into std.traits
Check 'opDispatch' and 'alias this'.