Array of cpp.Pointer<T>

I tried to push some cpp.Pointers in an Array or Vector, but i get an error.

G:\hxcpp-master\include\hx/Operators.h(271) : error C2039: 'Ptr': is not an element of 'cpp::Pointer' ./src/Game.cpp(241):

“RESULT Dynamic::StaticCast<cpp::Pointer>(void) const”.
with
[
RESULT=cpp::Pointer
]

Same with the value of the Pointer.

But I can put them in a Map.

Sounds like an HXCPP issue:

I think it’s currently not possible to store cpp.Pointers

Yes, i know :wink:

Except in a Map … Strange?