Boost logo

Boost Users :

From: Johan Råde (rade_at_[hidden])
Date: 2008-05-23 01:44:00


> I'm trying to avoid performance-heavy serialization on an object. I can
> short-cut the serialization if I can determine if my object is POD.

That could be a bit dangerous.
is_pod can given different result with different compilers.
(With some compilers is_pod is better at detecting PODness then with other compilers.)
That could hurt the portability of the archives between different platforms.

--Johan


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