🎉 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!

Is It Possible to Create Template Classes In Scripts

Started by
0 comments, last by OllieRory 3 years, 5 months ago

I have just started writing my first AngelScript scripts and would benefit from being able to write a template class in the script I'm writing; is this possible? The syntax I've tried is class MyClass<class T>, class MyClass<T> and template<class T> class MyClass. The ability to do this isn't shown in the documentation while the ashowboxbility to register template classes from C++ is, so my suspicion is that it is not possible. usps tracking

This topic is closed to new replies.

Advertisement