Function ~ReusableStringStream

Synopsis

#include <include/internal/catch_stream.h>

~ReusableStringStream()

Description

No description yet.

Source

Lines 168-172 in include/internal/catch_stream.cpp. Line 38 in include/internal/catch_stream.h.

ReusableStringStream::~ReusableStringStream() {
    static_cast<std::ostringstream*>( m_oss )->str("");
    m_oss->clear();
    Singleton<StringStreams>::getMutable().release( m_index );
}





Add Discussion as Guest

Log in