MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / ~ReusableStringStream

Method ~ReusableStringStream

Bcore/src/main/cpp/Dobby/tests/catch.hpp:9461–9465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9459}
9460
9461ReusableStringStream::~ReusableStringStream() {
9462 static_cast<std::ostringstream *>(m_oss)->str("");
9463 m_oss->clear();
9464 StringStreams::instance().release(m_index);
9465}
9466
9467auto ReusableStringStream::str() const -> std::string {
9468 return static_cast<std::ostringstream *>(m_oss)->str();

Callers

nothing calls this directly

Calls 3

strMethod · 0.45
clearMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected