
14 Dec
2008
14 Dec
'08
4:56 p.m.
Hi Neal,
From: Neal Becker
constrained_value does not currently support serialization. 1. Should it be added to the lib? 2. What would be a suggested implementation?
Good questions. As to the second, would it be sensible to serialise the value + each of the policies that is non-empty (or stateless)? Detection of class emptiness (statelessness) is not working with all compilers, so this would possibly be a non-portable solution. But otherwise users would need to provide serialization support for each empty policy too. Best regards, Robert