$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Larry Evans (jcampbell3_at_[hidden])
Date: 2003-04-02 16:59:39
Reece Dunn wrote:
> Here is the associated code and example program.
Wouldn't the following:
*this<<iomanip::setw(m_indent.length * m_indent.level)<<setfill(fill)<<fill;
*this<<setfill(fill);
do essentially what indentor< OutputFileType >::indent() does?
This implementation also requires the user to know when the
beginning of line occurs. That does sound pretty reasonable,
and I'm kinda wondering why I didn't do it in marg_ostream; however,
marg_ostream doesn't require this, and I'm wondering whether other
people think this feature is worth the extra complexity in
marg_ostream. Another indentor implementation is there's no need
to defind operator<< or all the primitive types as was done in
marg_ostream.