cereal icon indicating copy to clipboard operation
cereal copied to clipboard

A C++11 library for serialization

Results 177 cereal issues
Sort by recently updated
recently updated
newest added

So I'm trying to overcome the problem of dependency injection by adding a smart pointer to the archive with contains the dependencies via registerSharedPointer. Then, on the serialization functions, I...

This tag is an issue in the sense that there is no version bump that includes a fix for the following vulnerability: https://nvd.nist.gov/vuln/detail/CVE-2020-11105 An unknowing consumer of this library may...

See also [this thread](https://github.com/USCiLab/cereal/issues/395). This PR is about changing the inner node names of XML for lists.

enhancement

I am opening this issue on behalf of my colleague @Teloze and myself. Currently cereal supports serialization of types without a public default constructor via `friend cereal::access` declarations. This mechanism...

C++20 makes u8"xxxx" as char8_t array which is a distinct type from char. ```cpp cereal::make_nvp(u8"名字", vec); // this gives compiler error ``` Can we support it, should be a simple...

I'm seeing a very strange bug when using your library in conjunction with the newest version of https://github.com/nlohmann/json. Reproduce with the following: ```c++ #include #include #include #include //So we can...

We have been having some trouble with polymorphic types using ICC 19.0.3.199 20190206 (as installed at NERSC on Cori). Trying to serialize a derived class by pointer-to-base results in an...

What's the procedure for specialising access for template classes/structs? `CEREAL_SPECIALIZE_FOR_ALL_ARCHIVES` and the [cereal::specialize struct ](https://github.com/USCiLab/cereal/blob/master/include/cereal/specialize.hpp#L108) don't seem to support template types at first glance. ``` template struct Test { T...

Proposition of a macro to avoid duplicate code. ```c++ #define CEREAL_BASE(Class) ::cereal::make_nvp(#Class, cereal::base_class(this)) ```