|
Boost Users : |
Subject: [Boost-users] [Serialization] Stream error when serializing float and unsigned int
From: D Kruithof (dkkruithoftech_at_[hidden])
Date: 2009-08-10 15:21:00
Hello All,
When serializing this class:
class
{
float a;
unsigned int b;
};
i get a stream error upon de-serializing, when 'a' has the value infinity.
Is this a bug?
I included a (very small) program which shows the error. It crashes on
iteration 3. I use the mingw 3.4.5 compiler with boost 1.38 (no changes
have been made to serialization since 1.38) on windows XP.
Thanks,
D Kruithof
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net