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