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