
23 Sep
2004
23 Sep
'04
9:13 p.m.
The formatob_t class - to which you refer to - does need to forward the 'format' functions because it is defined as:
template< class FormatObject > class formatob_t: public FormatObject { inline formatob_t & format( const DelimiterType & s ) { FormatObject::format( s ); // return type == FormatObject return( *this ); } };
Why do you bother what FormatObject::format( s ) returns? It may as well be void for what I care. Above method format implementation will allow you to chain format calls in any case. It's so obvious that I feel like there is some miscommunication here. Gennadiy.