Advertisement

Templated functions

Started by October 06, 2023 04:29 PM
3 comments, last by WitchLord 1 year, 2 months 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.

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

Advertisement

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