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

Method div

include/covscript/impl/type_ext.hpp:250–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248
249template <typename T>
250cs_impl::operators::result cs_impl::operators::handler<T>::div(void *lhs, void *rhs)
251{
252 any result = cs::operators::div(*static_cast<const T *>(lhs), *static_cast<const any *>(rhs));
253 any::proxy *pxy = nullptr;
254 std::swap(result.mDat, pxy);
255 return result::from_ptr(pxy);
256}
257
258template <typename T>
259cs_impl::operators::result cs_impl::operators::handler<T>::mod(void *lhs, void *rhs)

Callers

nothing calls this directly

Calls 3

divFunction · 0.85
from_ptrFunction · 0.85
swapFunction · 0.50

Tested by

no test coverage detected