Boost logo

Boost :

From: Ben Artin (macdev_at_[hidden])
Date: 2005-10-04 23:13:05

I am using boost 1.32. When I serialize a string, no metadata is written, as
implementation_level<string> is set to primitive_type in
serialization/string.hpp. However, when I serialize a vector<string>, I end up
with metadata, because implementation_level<vector<string> > is not set anywhere
and therefore defaults to object_class_info.

Every other primitive type appears to be covered by
implementation_level<vector<T> > is object_serializable for every other
primitive type.

I checked in 1.33 and there don't appear to be any relevant changes, but I could
be wrong.

My question: is this an omission; that is, should
implementation_level<vector<string> > be object_serializable? (And similarly for
other collections of strings.)



If this message helped you, consider buying an item
from my wish list: <>
I changed my name: <>

Boost list run by bdawes at, gregod at, cpdaniel at, john at