How does Haxe handle reflection when targettng C++


(Kyliathy) #1

I searched on Google and here. Not many answers regarding this question. Is reflection fully supported using Type when targeting C++? Or is it limited to the Reflect API?

(Kevin Leung) #2

FYI, Reflect and Type from the standard library are fully functional on all Haxe targets, including cpp.

For cpp, I am pretty sure reflections are guaranteed to work with any Haxe types. However, it might not be the case when you are accessing types from external cpp code.