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

Method operator()

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

Source from the content-addressed store, hash-verified

849 struct operation_divide { int operator()(const int& a, const int& b) { return a / b; } };
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; } };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected