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

Method ~ReusableStringStream

extlibs/catch/include/catch/catch.hpp:13140–13144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13138 {}
13139
13140 ReusableStringStream::~ReusableStringStream() {
13141 static_cast<std::ostringstream*>( m_oss )->str("");
13142 m_oss->clear();
13143 Singleton<StringStreams>::getMutable().release( m_index );
13144 }
13145
13146 auto ReusableStringStream::str() const -> std::string {
13147 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