Angelscript addon Template Containers  2.31.0
STL container powerr for Angelscript
Registration

You can register all containers for an engine like this:

#include "aatc.hpp"
asIScriptEngine* your_engine_initialization(){
asIScriptEngine* engine = asCreateScriptEngine(ANGELSCRIPT_VERSION);
RegisterYourString(engine);
//register more things
aatc::RegisterAllContainers(engine);
//register aatc container template specializations for your cpp classes
return engine;
}


If you want some engine-specific settings you should use the initializer object:

#include "aatc.hpp"
asIScriptEngine* your_engine_initialization(){
asIScriptEngine* engine = asCreateScriptEngine(ANGELSCRIPT_VERSION);
RegisterYourString(engine);
//register more things
aatc::Initializer aatcinit(engine);
//include only the vector container for this engine
aatcinit.include_container[aatc::container::listing::CONTAINER::VECTOR] = 1;
aatcinit.Go();
//register aatc container template specializations for your cpp classes
return engine;
}