cereal
cereal copied to clipboard
A C++11 library for serialization
When building on arm64, the following warnings are issued when building the tests. ``` [ 35%] Building CXX object unittests/CMakeFiles/test_unordered_multiset.dir/unordered_multiset.cpp.o cd /builddir/build/BUILD/cereal-1.3.2/redhat-linux-build/unittests && /usr/bin/g++ -I/builddir/build/BUILD/cereal-1.3.2/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g...
According to the [code ](https://github.com/USCiLab/cereal/blob/master/include/cereal/archives/json.hpp#L173) destructor of `JSONOutputArchive `can be `noexcept` [explictly ](https://github.com/USCiLab/cereal/blob/master/include/cereal/macros.hpp#L110). But no matter defined `CEREAL_NOEXCEPT ` or not according to to [cppreference](https://en.cppreference.com/w/cpp/language/destructor#:~:text=%3B%20%20%20%20%20%20%20%20%20//%20OK-,Exceptions,-As%20any%20other) it's `noexcept(true)` implicitly. But in...
Hello, The embedded version of RapidJson causes C5054 warnings on MSVC with C++20. They have fixed it on their side using static casts. Is it possible to update the library...
Before the last update of RapidJSON, it was placed under `cereal::rapidjson` namespace to avoid collisions with other versions of RapidJSON in the same binary, which was very handy. Unfortunately, it's...
I have a large codebase with a certain class hierarchy where a header contains the base class, and the source file contains a number of subclasses inside a namespace {}...
Hi, I have a game engine, and I am using Cereal to serialize model files to binary. I assume reading files on another system with same endianness should be no...
When I use cereal: ``` #include #include #include #include struct person { std::string name; int age; template void serialize(Archive & archive) { archive(CEREAL_NVP(name), CEREAL_NVP(age)); } }; int main() { person...
Any plans for a new version? Is it still maintained? If there is a plan, can you post the schedule?
After upgrading to VS v15.8 I am getting a linker error for 2 out of many classes that are serialized using cereal. Anyone has similar issues ? Commenting out the...
It seems like the only way to get a final closing brace in the output JSON when using std::stringstream with cereal::JSONOutputArchive is to destroy the archive before using the string....