Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HaxeFoundation/hxcpp
/ AnyCast
Method
AnyCast
include/hx/StdLibs.h:26–26 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
{
25
template<typename T>
26
explicit AnyCast(T* inPtr) : mPtr((void *)inPtr) { }
27
28
template<typename T>
29
operator T*() const { return (T*)mPtr; }
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected