SomeRanDev / reflaxe.CPP

An alternative C++ target for Haxe that generates dependent-less, GC-less C++17 code.
MIT License
72 stars 5 forks source link

Pointers of child class implicit cast #32

Closed maihd closed 1 year ago

SomeRanDev commented 1 year ago

NIIICE!!! 😁 I was struggling with this, didn't realize the solution was so simple! Thank you for the contribution (and even a test! :0) I'll merge once I'm home!

maihd commented 1 year ago

This solution I found when dev a simple game with Cocos2d-x. Take me some days!