MCPcopy Create free account
hub / github.com/covscript/covscript / mod

Method mod

include/covscript/impl/type_ext.hpp:259–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257
258template <typename T>
259cs_impl::operators::result cs_impl::operators::handler<T>::mod(void *lhs, void *rhs)
260{
261 any result = cs::operators::mod(*static_cast<const T *>(lhs), *static_cast<const any *>(rhs));
262 any::proxy *pxy = nullptr;
263 std::swap(result.mDat, pxy);
264 return result::from_ptr(pxy);
265}
266
267template <typename T>
268cs_impl::operators::result cs_impl::operators::handler<T>::pow(void *lhs, void *rhs)

Callers

nothing calls this directly

Calls 3

modFunction · 0.85
from_ptrFunction · 0.85
swapFunction · 0.50

Tested by

no test coverage detected