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

Function assign_bitwise_or

include/chaiscript/dispatchkit/operators.hpp:42–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41 template<typename T>
42 void assign_bitwise_or(Module& m)
43 {
44 m.add(chaiscript::fun([](T &lhs, const T&rhs)->T&{return lhs |= rhs;}), "|=");
45 }
46
47 template<typename T>
48 void assign_difference(Module& m)

Callers

nothing calls this directly

Calls 2

funFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected