I'm binding an existing C++ struct as a value type. The struct has (as members) a couple of vectors (all float members), a color (an int member), a couple of floats and a bool. So, in the end, all primitives, no pointers.
I bind the type with these flags: asOBJ_VALUE | asOBJ_POD | asOBJ_APP_CLASS_CK
Should I be using asOBJ_POD for this type?
The documentation says:
In this case AngelScript doesn't require the default constructor, assignment behaviour, or destructor as it will be able to automatically handle these cases the same way it handles built-in primitives.
However, since this struct has a non-default constructor, I've already provided the typical placement-new constructor, along with this other constructor which takes some parameters. If I've provided the constructor already.. does that conflict with asOBJ_POD?
Thank you!