Mike Lankamp
Mike Lankamp
zserio's two-phase initialization (constructor + `initialize(...)`) doesn't allow those types to be used with modern C++ practices. Two-phase initialization is bad practice in general, but concretely it doesn't allow to...
zserio supports templated types. To enable easily writing generic code to use them, it would be nice for the C++ generator to define a type_traits instance of it. For instance,...
Union types are turned into Any types in C++ (basically std::any). However, these **must** be constructed via two-phase initialization: ``` union SimpleUnion { uint8 value8; uint16 value16; }; ``` becomes...
A type like ``` struct ArrayExample { int16 numItems; Element list[numItems]; }; ``` will result in getters and setters on the C++ type for `int16_t numItems` and `std::vector list`. The...
**Zserio version and language** Zserio: 2.16.0 Language: C++ **Describe the bug** `static_assert(std::is_nothrow_move_constructible)` fails. This is unexpected considering int is nothrow_move_constructible and causes generated objects that use it to also fail...