[Serialization] Free-standing serialize function for "enum class"
Hi there,
I have for a while suspected a problem with the serialization of an „enum class“ item (currently with Boost 1.61 on Ubuntu 16.04), and have written a small test program to further examine any potential problems. While the generated XML looks fine and I cannot see any problems with the enum class, my custom, free-standing „serialize“ function does not get called.
It is modelled after the examples for non-intrusive serialization, so I do not understand the reason behind this. Any idea ?
/*************************************/
// Compile with g++ --std=c++14 -o enum_ser -I/opt/boost/include/ -L/opt/boost/lib enum_ser.cpp -lboost_serialization
#include
participants (1)
-
Rüdiger Berlich