I was trying to use the aatc library today, when I call aatc_RegisterAllContainers(), the script engine gives an error of "ConfigError(asNOT_SUPPORTED, "RegisterObjectType", name, 0)" in asCScriptEngine::RegisterObjectType at line 1915, while the aatc is registering the template specialization vector<int8>, it looks as if the condition of the if-statement is always satisfied.
At line 1849 ,there is:
// Keep the most recent template generated instance type, so we know what it was before parsing the datatype
asCObjectType *mostRecentTemplateInstanceType = 0;
if( generatedTemplateTypes.GetLength() )
mostRecentTemplateInstanceType = generatedTemplateTypes[generatedTemplateTypes.GetLength()-1];
And at line 1911 there is
if( (generatedTemplateTypes.GetLength() &&
generatedTemplateTypes[generatedTemplateTypes.GetLength()-1] == mostRecentTemplateInstanceType) ||
mostRecentTemplateInstanceType == dt.GetObjectType() )
// TODO: Should have a better error message
return ConfigError(asNOT_SUPPORTED, "RegisterObjectType", name, 0);
Is it an issue ,or am i misunderstanding the code?