register subset of stl to angelscript

Started by
3 comments, last by Michael Marchesan 4 years, 11 months ago

Hi, is there any available prewritten code that focuses on bringing most common stl features to angelscript?
I'm mostly thinking of template containers (list, vector, map, queue, stack, set ...), algorithm, string, possibly iterators. Did anyone do a comprehensive stl register .h/.cpp, is anyone working on it, or i'll be the one to do it? I whish not the last one because i found out about angelscript right now...

Advertisement

For string, you can use the one shipped with Angelscript: scriptstdstring.cpp and scriptstdstring.h.

For vector, I believe this one might work: https://gist.github.com/MartinBspheroid/10103958

I'm not sure about any others.

I recommend taking a look at Sami's AngelScript Template Containers add-on library

 

 

 

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

6 hours ago, WitchLord said:

I recommend taking a look at Sami's AngelScript Template Containers add-on library

 

 

 

 

Exactly what i was looking for, thanks!

This topic is closed to new replies.

Advertisement