MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / ReusableStringStream

Method ReusableStringStream

extlibs/catch/include/catch/catch.hpp:13135–13138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13133 };
13134
13135 ReusableStringStream::ReusableStringStream()
13136 : m_index( Singleton<StringStreams>::getMutable().add() ),
13137 m_oss( Singleton<StringStreams>::getMutable().m_streams[m_index].get() )
13138 {}
13139
13140 ReusableStringStream::~ReusableStringStream() {
13141 static_cast<std::ostringstream*>( m_oss )->str("");

Callers

nothing calls this directly

Calls 2

addMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected