MCPcopy Create free account
hub / github.com/cucumber/cucumber-cpp / ScenarioScope

Method ScenarioScope

include/cucumber-cpp/internal/ContextManager.hpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53template<class T>
54ScenarioScope<T>::ScenarioScope() {
55 if (contextReference.expired()) {
56 contextReference = contextManager.addContext<T>();
57 }
58 context = contextReference.lock();
59}
60
61template<class T>
62T& ScenarioScope<T>::operator*() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected