Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChaiScript/ChaiScript
/ assign_remainder
Function
assign_remainder
include/chaiscript/dispatchkit/operators.hpp:72–75 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
70
71
template<typename T>
72
void assign_remainder(Module& m)
73
{
74
m.add(chaiscript::fun([](T &lhs, const T&rhs)->T&{return lhs %= rhs;}),
"%="
);
75
}
76
77
template<typename T>
78
void assign_right_shift(Module& m)
Callers
nothing calls this directly
Calls
2
fun
Function · 0.85
add
Method · 0.45
Tested by
no test coverage detected