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.



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to