
Robert,
http://www.boost.org/doc/libs/1_35_0/libs/serialization/doc/class_diagr am.html
Thanks! Even if I would have preferred to get a slightly more verbose answer from you. Please keep in mind that I don't have _any_ clue about what class might be the best to use in this context. So I take it that the basic_iarchive and basic_oarchive classes are the ones I'm looking for. Regards Hartmut
Hartmut Kaiser wrote:
Robert,
while trying to add serialization support for fusion sequences I came across the need to figure out whether a given type actually is an archive. Is there a boost::serialization::is_archive<> metafunction available? And if not, what's the best way to implement this?
Hmmm - I chuckled when I read this. It seems that I would be asking you this question rather than the other way around.
You're the serialization master, not me :-P
Giving it a tiny bit of thought leads me to wonder:
First thought is one could use something like is_base_derived to verify that it derived from from one of the common base classes. This solution would probably be sufficient for most practical purposes.
That would be sufficient for now I think. What are the base classes I could use to test against?
Regards Hartmut
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost