On 06/06/14 10:08 -0400, Ed Smith-Rowland wrote: >I'll look at rdbuf. Error in rdbuf? Do I need to do something? No, just me being dumb. The ostream::operator<<(streambuf*) overload behaves as an unformatted output function, so won't obey the padding, which is exactly what you're trying to fix. Sorry for suggesting it.