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

Method ~ReusableStringStream

external/catch.hpp:13771–13775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13769 {}
13770
13771 ReusableStringStream::~ReusableStringStream() {
13772 static_cast<std::ostringstream*>( m_oss )->str("");
13773 m_oss->clear();
13774 Singleton<StringStreams>::getMutable().release( m_index );
13775 }
13776
13777 auto ReusableStringStream::str() const -> std::string {
13778 return static_cast<std::ostringstream*>( m_oss )->str();

Callers

nothing calls this directly

Calls 3

strMethod · 0.80
clearMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected