Wrapping an arbitrary class/struct API

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sat Aug 24 08:12:39 PDT 2013


On 24/08/13 15:47, Artur Skawina wrote:
> This will handle the simple case you described; the opDispatch
> template will get more complex once it needs to forward other
> stuff, like fields and properties, or handle ref args properly etc.
>
>> More specifically, how could I work this out limited to a specific function of A (say, foo) ... ?
>
> Template constraint.

Ta. :-)



More information about the Digitalmars-d-learn mailing list