24 May
2005
24 May
'05
4:17 a.m.
Richard Howells wrote:
One tip --> in 1.33 you will need to make the date const or oa << d will fail. Serialization is now enforcing this previously documented part of the interface...
So
date d(2004, Apr, 5);
needs to be
const date d(2004, Apr, 5);
Is that for real? I admit I have not used this library so maybe I should be ignored, but what is the reasoning for only being able to serialize consts? At the moment it does not sound useful.
- R
It doesn't mean only const data can serialized. It just means that ways of using the library can lead to problems and this helps trap them. You'll have to read the thread. I'll try to add a more extensive explanation to the documentation. Robert Ramey