How can I tell boost that for a particular structure it should not write/read a class “version” identifier?
I am writing some wrapper classes for serializing some types in a smaller fashion (like a variable length integer). If the wrapper gets a class version written the whole point of the size reduction is lost (it’ll end up bigger in most cases).
For example, given integer a I’ll be replacing this code:
ar & a;
with this:
ar & wrapper(a);
I see the is_wrapper trait, but I can’t really find any docs on what that does, or if it might help.
Add
It’s the documented way.