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

Method pow

include/covscript/impl/type_ext.hpp:268–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266
267template <typename T>
268cs_impl::operators::result cs_impl::operators::handler<T>::pow(void *lhs, void *rhs)
269{
270 any result = cs::operators::pow(*static_cast<const T *>(lhs), *static_cast<const any *>(rhs));
271 any::proxy *pxy = nullptr;
272 std::swap(result.mDat, pxy);
273 return result::from_ptr(pxy);
274}
275
276template <typename T>
277cs_impl::operators::result cs_impl::operators::handler<T>::minus(void *lhs, void *rhs)

Callers

nothing calls this directly

Calls 3

from_ptrFunction · 0.85
powFunction · 0.70
swapFunction · 0.50

Tested by

no test coverage detected