Hi,
I'm curious if anyone else would think that the use of a 'partial template' system in Angelscript would be useful. Specifically, if I want to bind a std::vector, I need to give it a unique name for each type (i.e. vectorInt, vectorFloat, etc).
What if Angelscript could allow the use of the angle bracket syntax to name a type (i.e. Bind `std::vector<int>` to `vector<int>`).
A user would not be able to instantiate a `vector<float>` unless this type was registered.
does anyone think this might be useful?
I haven't looked at the code yet, so I'm not sure how complicated this might be.
↧