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

Function ptr

Libs/sol/sol.hpp:1649–1651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1647
1648 template <typename T>
1649 inline T* ptr(T& val) {
1650 return std::addressof(val);
1651 }
1652
1653 template <typename T>
1654 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