MCPcopy Create free account
hub / github.com/VCVRack/Rack / convertFArg

Function convertFArg

include/string.hpp:22–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20// Converts std::string arguments of f() to `const char*`
21template<typename T>
22T convertFArg(const T& t) {return t;}
23inline const char* convertFArg(const std::string& s) {return s.c_str();}
24template<typename... Args>
25std::string f(Args... args) {

Callers 1

fFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected