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

Method getInvokeArg

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

Source from the content-addressed store, hash-verified

221
222template<typename T>
223T InvokeArgs::getInvokeArg(size_type i) const {
224 if (i >= args.size()) {
225 throw std::invalid_argument("Parameter not found");
226 }
227 return fromString<T>(args.at(i));
228}
229
230template<typename T>
231const T BasicStep::getInvokeArg() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected