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