[C++-sig] Re: fat class decoration

Mike Rovner mike at nospam.com
Mon Oct 27 18:17:04 CET 2003


Thanks, Dave. Do you consider that implementation right for the task?

David Abrahams wrote:
> Seems like you could generate the TColorHelper classes with templates
> and save a lot of code.

Unfortunately they differ in implementation:

TColorHelper {  get/set()  { fat->get/set Color{}; } };
TLineHelper   { get/set () { fat->get/set Line{}; } };

so they folded to macro definition.

Mike







More information about the Cplusplus-sig mailing list