Templated functions

Started by
3 comments, last by WitchLord 7 months, 3 weeks ago

So, i've been looking at the docs and i found template types, but those seem to be for classes, are template functions supported in AngelScript and how would one create them, so far i have tried:

class Temporary{
	void Method<T>() {}
	void Method2<class T>() {}
}

but none of these work, what's the solution.

Advertisement

Hi Makian,

template functions are unfortunately not supported yet.

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Thank you for the answer,

if i might ask, any plans on making them in distant future?

Yes, in a distant future. 🙂 It is on my to-do list, but I have no idea when I might be able to even start developing the support for this.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement