I'm would like to modify a stream so that every time something is output to the stream each line is prepended with some number of tabs. It seems that a manipulator is the way to go about this but none of the examples I've found make it clear how to manipulate in this way.
Is this a reasonable thing for a manipulator and if so how?