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

Function registerStep

include/cucumber-cpp/internal/step/StepManager.hpp:193–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191
192template<class T>
193static int registerStep(const std::string& stepMatcher, const char* file, const int line) {
194 return StepManager::addStep(
195 std::make_shared<StepInvoker<T>>(stepMatcher, toSourceString(file, line))
196 );
197}
198
199template<typename T>
200T fromString(const std::string& s) {

Callers

nothing calls this directly

Calls 1

toSourceStringFunction · 0.85

Tested by

no test coverage detected