MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / ReusableStringStream

Method ReusableStringStream

unittests/catch.hpp:9536–9539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9534 }
9535
9536 ReusableStringStream::ReusableStringStream()
9537 : m_index( StringStreams::instance().add() ),
9538 m_oss( StringStreams::instance().m_streams[m_index].get() )
9539 {}
9540
9541 ReusableStringStream::~ReusableStringStream() {
9542 static_cast<std::ostringstream*>( m_oss )->str("");

Callers

nothing calls this directly

Calls 2

addMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected