cereal
cereal copied to clipboard
A C++11 library for serialization
As deferements are iterated using range based loop, when there is a recursive defer, it's corrupting the variable. The loop iteration has been changed to use index based to fix...
I tried this: ``` template class MyNamespace::ClassA; ``` But it leads to a lot of warnings, like this one: ` ld: warning: direct access in cereal::detail::OutputBindingCreator::OutputBindingCreator() to global weak symbol...
If this package is flagged as ARCH_IDENPENDENT by cmake it is possible to consume the generated cmake files for compiling both 32bit and 64bit projects. Otherwise cmake will complain: CMake...
``` #include #include #include class Minimal { public: Minimal() : IDVal(0) {} Minimal(uint64_t id) : IDVal(id) {} bool operator==(const Minimal& rhs) const { return rhs.IDVal == IDVal; } uint64_t GetValue()...
Without the proposed change, cereal will deserialize the C-array using the slow-path serializeArray(), i.e., the one that deserializes the array element by element, even though the array is arithmetic.
```c++ struct A { int a template void serialize(Archive &ar) { ar(a); } } struct B : struct A { int b } template void serialize(Archive &ar, B& data) {...
Hi, I have a struct with near zero float values which has been serialised to xml. Running into the same problem while serialising to binary and back. Seems like near...
JSONOutputArchive expected an std::string param to be passed saveValue(). This caused the compilation to fail when the more generic std::basic_string was passed and not an std::string. This fix changes the...
Dear cereal people; thank you for the recent v1.3.0 release! While preparing the updated Debian package we had build failures on two architectures: mipsel & armel while linking the `test_atomic`...