|
Boost : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2008-05-20 16:43:07
http://www.boost.org/doc/libs/1_35_0/libs/serialization/doc/class_diagram.html
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk