Subject: [Boost-users] [serialization] avoid nvp for wrapper class
From: dariomt_at_[hidden]
Date: 2014-07-01 11:15:53


Hi list,

How do I tell Boost.Serialization to serialize a wrapper as the primitive
type, without requiring an nvp wrapper? I specifically don't want an extra
level in the xml output.

Example:
given
BOOST_STRONG_TYPEDEF(int, myInt);

I'd like myInt to be serialized as an int.

Thanks!