Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ from_string
Function
from_string
plugins/dig.cpp:475–481 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
473
474
template <class T>
475
bool from_string(T& t,
476
const std::string& s,
477
std::ios_base& (*f)(std::ios_base&))
478
{
479
std::istringstream iss(s);
480
return !(iss >> f >> t).fail();
481
}
482
483
enum circle_what
484
{
Callers
1
digcircle
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected