Fragile ABI

Kagamin spam at here.lot
Tue Aug 21 04:36:20 PDT 2012


On Monday, 20 August 2012 at 18:37:00 UTC, R Grocott wrote:
> On Monday, 20 August 2012 at 15:26:48 UTC, Kagamin wrote:
>> What you ask for sounds quite similar to COM composition with 
>> delegation.
>
> Would anybody mind linking to resources which describe COM 
> composition with delegation? It's been suggested twice in this 
> thread as an alternative way to develop a non-fragile API, but 
> anything related to COM is almost invisible to search engines 
> (even moreso than D itself).

class MyButton: IButton
{
   IButton impl;
   void text(string t) @property // void IButton.text(string)
   {
     impl.text=t;
   }
   // ... other IButton methods
}

slightly similar to what emplace does


More information about the Digitalmars-d mailing list