MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / ptr

Function ptr

extlibs/sol3/include/sol/sol.hpp:1198–1200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1196
1197 template <typename T>
1198 inline T* ptr(T& val) {
1199 return std::addressof(val);
1200 }
1201
1202 template <typename T>
1203 inline T* ptr(std::reference_wrapper<T> val) {

Callers 5

comparsion_operator_wrapFunction · 0.70
pushMethod · 0.70
select_member_variableFunction · 0.70
push_lvalueMethod · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected