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

Method mul

include/covscript/impl/type_ext.hpp:241–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239
240template <typename T>
241cs_impl::operators::result cs_impl::operators::handler<T>::mul(void *lhs, void *rhs)
242{
243 any result = cs::operators::mul(*static_cast<const T *>(lhs), *static_cast<const any *>(rhs));
244 any::proxy *pxy = nullptr;
245 std::swap(result.mDat, pxy);
246 return result::from_ptr(pxy);
247}
248
249template <typename T>
250cs_impl::operators::result cs_impl::operators::handler<T>::div(void *lhs, void *rhs)

Callers

nothing calls this directly

Calls 3

mulFunction · 0.85
from_ptrFunction · 0.85
swapFunction · 0.50

Tested by

no test coverage detected