Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChaiScript/ChaiScript
/ unary_plus
Function
unary_plus
include/chaiscript/dispatchkit/operators.hpp:150–153 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
148
149
template<typename T>
150
void unary_plus(Module& m)
151
{
152
m.add(chaiscript::fun([](const T &lhs){return +lhs;}),
"+"
);
153
}
154
155
template<typename T>
156
void subtraction(Module& m)
Callers
nothing calls this directly
Calls
2
fun
Function · 0.85
add
Method · 0.45
Tested by
no test coverage detected