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

Function bitwise_compliment

include/chaiscript/dispatchkit/operators.hpp:174–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172
173 template<typename T>
174 void bitwise_compliment(Module& m)
175 {
176 m.add(chaiscript::fun([](const T &lhs){return ~lhs;}), "~");
177 }
178
179 template<typename T>
180 void bitwise_xor(Module& m)

Callers

nothing calls this directly

Calls 2

funFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected