Function ReusableStringStream

Synopsis

#include <include/internal/catch_stream.h>

ReusableStringStream()

Description

No description yet.

Source

Lines 163-166 in include/internal/catch_stream.cpp. Line 37 in include/internal/catch_stream.h.

ReusableStringStream::ReusableStringStream()
:   m_index( Singleton<StringStreams>::getMutable().add() ),
    m_oss( Singleton<StringStreams>::getMutable().m_streams[m_index].get() )
{}





Add Discussion as Guest

Log in