std.pattern..mixin temptes..std.concurrency
BLS
windevguy at hotmail.de
Mon Jul 12 05:11:15 PDT 2010
On 09/07/2010 14:04, Steven Schveighoffer wrote:
> Have you tried using composition?
Thanks fro feedback Steve.
No, NO Chance.
The composite pattern requires inheritances (and the use of the
composite pattern does not makes sense in our case) .... but also my
idea of using the decorator pattern is not doable 'cause the need of
inheritance...
So "final" is the end of implementing the publisher/subscriber pattern
this way. What remains is code injection.. but this is hackish..
May be we can use opDefault { mixin ...}.
bjoern
More information about the Digitalmars-d
mailing list