MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / get_pointer

Function get_pointer

include/chaiscript/dispatchkit/bind_first.hpp:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21 template<typename T>
22 T* get_pointer(T *t)
23 {
24 return t;
25 }
26
27 template<typename T>
28 T* get_pointer(const std::reference_wrapper<T> &t)

Callers 1

bind_firstFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected