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

Function assign_bitwise_and

include/chaiscript/dispatchkit/operators.hpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29 template<typename T>
30 void assign_bitwise_and(Module& m)
31 {
32 m.add(chaiscript::fun([](T &lhs, const T&rhs)->T&{return lhs &= rhs;}), "&=");
33 }
34
35 template<typename T>
36 void assign_xor(Module& m)

Callers

nothing calls this directly

Calls 2

funFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected