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

Method access

include/covscript/impl/type_ext.hpp:360–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358
359template <typename T>
360cs_impl::operators::result cs_impl::operators::handler<T>::access(void *lhs, void *rhs)
361{
362 any result = cs::operators::access(*static_cast<T *>(lhs), *static_cast<const cs::string *>(rhs));
363 any::proxy *pxy = nullptr;
364 std::swap(result.mDat, pxy);
365 return result::from_ptr(pxy);
366}
367
368template <typename T>
369cs_impl::operators::result cs_impl::operators::handler<T>::caccess(void *lhs, void *rhs)

Callers 1

parse_dotMethod · 0.45

Calls 3

accessFunction · 0.85
from_ptrFunction · 0.85
swapFunction · 0.50

Tested by

no test coverage detected