MCPcopy Create free account
hub / github.com/David-Haim/concurrencpp / get_testing_stub

Method get_testing_stub

test/source/utils/object_observer.cpp:107–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105object_observer::object_observer() : m_state(std::make_shared<details::object_observer_state>()) {}
106
107testing_stub object_observer::get_testing_stub() noexcept {
108 return {m_state};
109}
110
111value_testing_stub object_observer::get_testing_stub(int value) noexcept {
112 return {m_state, value};

Calls

no outgoing calls