Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChaiScript/ChaiScript
/ assign_difference
Function
assign_difference
include/chaiscript/dispatchkit/operators.hpp:48–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
47
template<typename T>
48
void assign_difference(Module& m)
49
{
50
m.add(chaiscript::fun([](T &lhs, const T&rhs)->T&{return lhs -= rhs;}),
"-="
);
51
}
52
53
template<typename T>
54
void assign_left_shift(Module& m)
Callers
nothing calls this directly
Calls
2
fun
Function · 0.85
add
Method · 0.45
Tested by
no test coverage detected