
Is there a particular reason why the serialization library does not provide serialization functions for types in other boost libraries? Unless I've missed them, but I find I've had to provide implementations for, e.g.: boost::filesystem::path - trivial. boost::multi_array - also seems straightforward, unless I'm missing something there. They don't require invasive techniques, so is it that it's being left up to the particular library owners to decide whether or not to support serialization? If it's an efficiency argument, e.g. one size doesn't fit all, I don't see why 'an' implementation could not be provided (perhaps in /serialization/boost/xyz.hpp). After all, no one would be forced to include/use that particular implementation.

Is there a particular reason why the serialization library does not provide serialization functions for types in other boost libraries?
IIUC, it goes in the opposite direction: other boost libraries do not provide serialization functions for their types. But some libraries do - like MultiIndex, DateTime etc...

On 29 Sep 2009, at 11:02, Igor R wrote:
Is there a particular reason why the serialization library does not provide serialization functions for types in other boost libraries?
IIUC, it goes in the opposite direction: other boost libraries do not provide serialization functions for their types. But some libraries do - like MultiIndex, DateTime etc...
Indeed, the serialization codes for classes defined by a library belongs with that library. Matthias

"Matthias Troyer"
Indeed, the serialization codes for classes defined by a library belongs with that library.
However, the serialization library provides serialization for std types. If and when boost::filesystem makes it into the standard, does the library then provide an implementation?

On 30 Sep 2009, at 21:51, Chard wrote:
"Matthias Troyer"
wrote in message news:CBA69A3C-689F-4C61-8C54-DD24AEA0A331@phys.ethz.ch... Indeed, the serialization codes for classes defined by a library belongs with that library.
However, the serialization library provides serialization for std types. If and when boost::filesystem makes it into the standard, does the library then provide an implementation?
If and when a Boost library makes it into the standard one will probably make the Boost version work with the standard Matthias
participants (3)
-
Chard
-
Igor R
-
Matthias Troyer