Candidates are vectors of char, octet, int and uint. In the current version, XML serialization puts a lot of overhead in the generated XML.
Metatype’s binary serialization and Metatype’s scheme description does not yet support vector<bool>. This is mainly because STL’s vector<bool> implementation does not resemble a contiguous memory array of bool values.
Currently, the type of union member is parsed as an identifier. It is not possible to declare arrays or other complex types inside unions. This deficit may be circumvented by declaring types using the typedef keyword.
Internally, the implementation is capable to handle arbitrary types, but the parser and the AST do not support the required constructs yet.
This should be consolidated, somehow, by using an accessor?
see title.
For the readers not knowing, Metatype is a data-type definition language and a C++ code generator. Metatype may be used for the specification and implementation complex data protocols. Compared to other data definition languages, Metatype has one speciality: It supports the declaration and generation of discriminated unions. Update: included example for constructing unions.