MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / ReusableStringStream

Method ReusableStringStream

extras/tests/catch/catch.hpp:13779–13782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13777 };
13778
13779 ReusableStringStream::ReusableStringStream()
13780 : m_index( Singleton<StringStreams>::getMutable().add() ),
13781 m_oss( Singleton<StringStreams>::getMutable().m_streams[m_index].get() )
13782 {}
13783
13784 ReusableStringStream::~ReusableStringStream() {
13785 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