Its very hacky, but it now works with methods. I've sent the email, I'll hold off using it in my app until its official 🙂. Also, just note that i used std::hash, std::string and std::unordered_map to store instances of template functions, i couldnt figure out the asCMap
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Implementing new feature (Template functions)
Thanks for the code contribution. I'll take a look at it as soon as I can. It will however be while before I actually merge it into the WIP version as I'm currently on scope lock for release 2.37.0. Once that is out, I'll work on merging the code. As I do so I will do the necessary adjustments to fit in with the rest of the coding style in AngelScript.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement