Skip to content

Support for char in XML archive + Add unittests for char to pod.cpp #116

@volo-zyko

Description

@volo-zyko

Currently in XML archive when char type is serialized is stored as usual character but during deserialization there is attempt to use stoi for conversion of char. It obviously fails.

In general, I couldn't find this in documentation but what is the list of POD types supported by cereal? There is a certain list of POD types in unittests/pod.cpp which are supported for sure but char is not part of that list. Is this deliberate or by accident?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions