Advertisement

register subset of stl to angelscript

Started by May 26, 2019 11:36 PM
3 comments, last by Michael Marchesan 5 years, 6 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...

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.

Advertisement

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