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

Similar to the same check done a few lines above for c++17

when char is unsigned it's uint8_t which doesn't match the type declared for the key of the map, so it fails with error: non-constant-expression cannot be narrowed from type 'typename...

Importing an xml file containing comments works fine. I can't find anything in cereal that lets me generate xml with comments. The closest I could get using setNextName, startNode, and...

home/zhangfq/2024/c++/cereal/include/cereal/details/polymorphic_impl.hpp:218:22: error: possibly dangling reference to a temporary [-Werror=dangling-reference] 218 | auto const & mapping = lookup( baseInfo, typeid(Derived), [&](){ UNREGISTERED_POLYMORPHIC_CAST_EXCEPTION(load) } );

std::aligned_storage is deprecated in C++23 and should be replaced with the code as shown in [1] and [2]. [1] [Why is std::aligned_storage to be deprecated in C++23 and what to...

Is it possible to define the Version Number not through the Compile-Time Macro but at runtime? This is needed specifically in a use-case where we would like to be able...

Rapidjson & rapidxml have seen a few versions, improvments including for new CPU architectures (e.g. Apple Silicon) and performance. This PR provides a way how these things can be kept...

I am working on a project that uses the Eigen library, which in turn uses the Lapack library if available. My project also uses the Cereal library, which in turn...

This fixes warnings C5054 and C4619