Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ROCm/AMDMIGraphX
/ redirect_to
Function
redirect_to
src/process.cpp:51–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
49
#ifndef _WIN32
50
51
static std::function<void(const char*)> redirect_to(std::ostream& os)
52
{
53
return [&](const char* x) { os << x; };
54
}
55
56
template <class F>
57
static int exec(const std::string& cmd, const char* type, F f)
Callers
2
read
Method · 0.85
exec
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected