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

David Abrahams dave at boost-consulting.com
Mon Oct 27 20:58:13 CET 2003


"Mike Rovner" <mike at nospam.com> writes:

> 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.

You can't use member pointer template parameters to make them the same?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list