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

Method ~ReusableStringStream

tutorials/external/catch.hpp:11346–11350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11344 {}
11345
11346 ReusableStringStream::~ReusableStringStream() {
11347 static_cast<std::ostringstream*>( m_oss )->str("");
11348 m_oss->clear();
11349 Singleton<StringStreams>::getMutable().release( m_index );
11350 }
11351
11352 auto ReusableStringStream::str() const -> std::string {
11353 return static_cast<std::ostringstream*>( m_oss )->str();

Callers

nothing calls this directly

Calls 3

releaseMethod · 0.80
strMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected