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

Method index

include/covscript/impl/type_ext.hpp:336–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334
335template <typename T>
336cs_impl::operators::result cs_impl::operators::handler<T>::index(void *lhs, void *rhs)
337{
338 any result = cs::operators::index(*static_cast<T *>(lhs), *static_cast<const any *>(rhs));
339 any::proxy *pxy = nullptr;
340 std::swap(result.mDat, pxy);
341 return result::from_ptr(pxy);
342}
343
344template <typename T>
345cs_impl::operators::result cs_impl::operators::handler<T>::cindex(void *lhs, void *rhs)

Callers 4

removeMethod · 0.45
existMethod · 0.45
listMethod · 0.45
parse_accessMethod · 0.45

Calls 3

indexFunction · 0.85
from_ptrFunction · 0.85
swapFunction · 0.50

Tested by

no test coverage detected