Class RedirectedStream

Synopsis

#include <include/internal/catch_output_redirect.h>

class RedirectedStream

Description

No description yet.

Methods

RedirectedStream
~RedirectedStream

Source

Lines 19-27 in include/internal/catch_output_redirect.h.

class RedirectedStream {
    std::ostream& m_originalStream;
    std::ostream& m_redirectionStream;
    std::streambuf* m_prevBuf;
public:
    RedirectedStream( std::ostream& originalStream, std::ostream& redirectionStream );
    ~RedirectedStream();
};





Add Discussion as Guest

Log in