MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / operator()

Method operator()

src/Ext/Script/Body.cpp:852–852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

850 struct operation_mod { int operator()(const int& a, const int& b) { return a % b; } };
851 struct operation_leftshift { int operator()(const int& a, const int& b) { return a << b; } };
852 struct operation_rightshift { int operator()(const int& a, const int& b) { return a >> b; } };
853 struct operation_reverse { int operator()(const int& a, const int& b) { return ~a; } };
854 struct operation_xor { int operator()(const int& a, const int& b) { return a ^ b; } };
855 struct operation_or { int operator()(const int& a, const int& b) { return a | b; } };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected