MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / assign

Function assign

include/chaiscript/dispatchkit/operators.hpp:24–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 {
23 template<typename T>
24 void assign(Module& m)
25 {
26 m.add(chaiscript::fun([](T &lhs, const T&rhs)->T&{return lhs = rhs;}), "=");
27 }
28
29 template<typename T>
30 void assign_bitwise_and(Module& m)

Callers

nothing calls this directly

Calls 2

funFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected