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

Method operator()

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

Source from the content-addressed store, hash-verified

848 struct operation_multiply { int operator()(const int& a, const int& b) { return a * b; } };
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; } };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected