std::io

tee_reader

macro TeeReader tee_reader(InStream r, OutStream w)
Returns a reader that implements InStream and that will write any data read
from the wrapped reader r to the writer w. There is no internal buffering.

Parameters