MCPcopy Create free account
hub / github.com/RenderKit/embree / ReusableStringStream

Method ReusableStringStream

tutorials/external/catch.hpp:11341–11344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11339 };
11340
11341 ReusableStringStream::ReusableStringStream()
11342 : m_index( Singleton<StringStreams>::getMutable().add() ),
11343 m_oss( Singleton<StringStreams>::getMutable().m_streams[m_index].get() )
11344 {}
11345
11346 ReusableStringStream::~ReusableStringStream() {
11347 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