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

Function assign_xor

include/chaiscript/dispatchkit/operators.hpp:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35 template<typename T>
36 void assign_xor(Module& m)
37 {
38 m.add(chaiscript::fun([](T &lhs, const T&rhs)->T&{return lhs ^= rhs;}), "^=");
39 }
40
41 template<typename T>
42 void assign_bitwise_or(Module& m)

Callers

nothing calls this directly

Calls 2

funFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected