MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / ~ReusableStringStream

Method ~ReusableStringStream

extern/Catch2/catch.hpp:13784–13788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13782 {}
13783
13784 ReusableStringStream::~ReusableStringStream() {
13785 static_cast<std::ostringstream*>( m_oss )->str("");
13786 m_oss->clear();
13787 Singleton<StringStreams>::getMutable().release( m_index );
13788 }
13789
13790 auto ReusableStringStream::str() const -> std::string {
13791 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