Boost logo

Boost Users :

Subject: Re: [Boost-users] [Serialization] Free-standing serialize function for "enum class"
From: Bjorn Reese (breese_at_[hidden])
Date: 2016-10-13 13:34:42

On 10/13/2016 06:56 PM, Rüdiger Berlich wrote:

> 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.

Boost.Serialization automatically converts an enum into an int before
it is serialized.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at