Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ toFunction
Method
toFunction
source/json_tool/json_tool.hpp:87–89 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
85
virtual void flush() = 0;
86
87
function<void(FormattedJson const& json)> toFunction() {
88
return [this](FormattedJson const& json) { this->out(json); };
89
}
90
};
91
92
class OutputOnSeparateLines : public Output {
Callers
1
main
Function · 0.80
Calls
1
out
Method · 0.45
Tested by
no test coverage detected