Defining some stuff for each class in turn
Michel Fortin
michel.fortin at michelf.com
Thu Oct 1 18:50:00 PDT 2009
On 2009-10-01 14:05:10 -0400, Max Samukha <spambox at d-coding.com> said:
> For example, the upcoming reflection mechanism in QtD (which uses its
> own metaobjects instead of the limited classinfo) requires manual
> insertion of a mixin into derived classes unless the mixin is inserted
> implicitly when a signal/property/etc is declared.
I'm using the exact same solution here for the D/Objective-C bridge and
it's working surprisingly well.
I certainly wouldn't turn down the possibility of inheriting an
implementation in subclasses, it'd make things a little less hackish.
--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the Digitalmars-d
mailing list