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

Method minus

include/covscript/impl/type_ext.hpp:277–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275
276template <typename T>
277cs_impl::operators::result cs_impl::operators::handler<T>::minus(void *lhs, void *rhs)
278{
279 any result = cs::operators::minus(*static_cast<const T *>(lhs));
280 any::proxy *pxy = nullptr;
281 std::swap(result.mDat, pxy);
282 return result::from_ptr(pxy);
283}
284
285template <typename T>
286cs_impl::operators::result cs_impl::operators::handler<T>::escape(void *lhs, void *rhs)

Callers

nothing calls this directly

Calls 3

minusFunction · 0.85
from_ptrFunction · 0.85
swapFunction · 0.50

Tested by

no test coverage detected